Third Attempt
Wow, much much better. Only one more error to take care of. Please notice that the page has downloaded its own jQuery 1.7.2, while before converting relative URLs to absolute, the current jQuery was 1.x (edge). I don’t like that very much, so I think we should downgrade jsFiddle‘s jQuery version to jQuery 1.7.2 (to be sure the page will find the same version) and at the same time we should remove from the page the script tag for jQuery 1.7.2. Let’s do it.
My third attempt (open in jsFiddle):
{[ .disco-attempt3 | 1.hilite(=javascript=) ]}
produced this result:
which is the same as for the second attempt, but our fiddle is much cleaner inside.
Well, all of the above is true and should work not only in jsFiddle but also in any other Online JavaScript IDE [1]. But if you have Google Chrome, forget about all those tricks and use its Custom JavaScript Snippets [2] feature instead. It just works. It’s like having the power you get when developing extensions right from the console.
1: http://en.wikipedia.org/wiki/Online_JavaScript_IDE
2: https://developer.chrome.com/devtools/docs/authoring-development-workflow#snippets