JQuery error in a Firefox extension -
var $j; $j = jquery.noconflict(); $j(<button id="find" label="adwords ok"/>).append("#:ne"); i error "i.createdocumentfragment not function" when run in firefox extension.
$j('<button id="find" label="adwords ok"/>').append("#:ne"); need quotes no?
edit
oh adding after #ne, then
$j('#ne').after('<button id="find" label="adwords ok"/>');
Comments
Post a Comment