You could also add a bookmarklet to Firefox's Bookmarks Toolbar Folder. Then, whenever you see a page you'd like to play with using jQuery and Firebug, just click the bookmarklet and you're ready to go.

javascript:var%20s=document.createElement('script');s.setAttribute ('src',%20'http://jquery.com/src/ jquery-1.0.4.js');document.getElementsByTagName('body')[0].appendChild (s);alert('thank you for using jquery!');void(s);

That should be all on one line.

--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Dec 13, 2006, at 11:49 AM, Fabien Meghazi wrote:

var s = document.createElement('script');
s.src='http://jquery.com/src/jquery-1.0.4.js';
document.body.appendChild(s);

Thanks !

I didn't knew the dom createElement's way would imply the load, parse
and execution of a remote script.

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to