wow, that's a nice bookmarklet. Thanks for that!
On 12/13/06, Karl Swedberg <[EMAIL PROTECTED]> wrote:
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<http://jquery.com/src/jquery-1.0.4.js%27%29;document.getElementsByTagName%28%27body%27%29%5B0%5D.appendChild%28s%29;alert%28%27thank>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'<http://jquery.com/src/jquery-1.0.4.js%27>
;
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/
--
Joan Piedra || Frontend webdeveloper
http://joanpiedra.com/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/