Hi all, I have a very little GM script, which I want to destroy a Jquery UI accordion. My script's main propreties are here:
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js // @require http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.19/jquery-ui.min.js console.log($('#accordion',top.document)); // write out the Jquery accordion object correctly $('#accordion',top.document).accordion('destroy'); // this line should destroy the accordion, but it does nothing. When I run $('#accordion',top.document).accordion('destroy'); in Firebug Console, the accordion destroyed correctly. Please advice, how could I manipulate Jquery UI objects from Greasemonkey? Thank you! -- View this message in context: http://old.nabble.com/Jquery-UI-accordion-issue-tp34137884p34137884.html Sent from the GreaseMonkey List mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.
