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

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -