Is there a web site that allows to edit a simple HTML fragment, insert jQuery code, and verify if the jQuery code has the desired effect?
+7
A:
Check out http://www.jsbin.com. Make sure you select jQuery from the "Include:" dropdown.
Rob Sobers
2009-12-18 02:29:38
+1 This is a great resource
Doug Neiner
2009-12-18 02:30:24
This is exactly what I was looking for; it allows me to check if the jQuery code works before to change the page of my web site, or to change the code of the module I am developing for Drupal.
kiamlaluno
2009-12-18 02:54:24
+2
A:
I usually use Firebug to test small snippets of jquery. Open any page you want that includes jquery, even the page of this very question, press F12 and run your snippets.
Andreas Bonini
2009-12-18 02:30:20
Also be sure to use FireQuery to be able to insert jQuery into any page and do more advanced diagnostics.
Doug Neiner
2009-12-18 02:34:54
I will keep in mind this suggestion for when I need to debug the jQuery code for a Drupal module I am writting. The other suggested method (the web site) allows me to check the jQuery code before to modify the code I am writing.
kiamlaluno
2009-12-18 02:56:32
A:
I suggest http://www.w3schools.com/ There are simple tutorials too. Just go to the tutorial and find "try it yourself!" button to start testing.
Sorry can't hyperlink it. Posting from phone...
Jim
2009-12-18 03:14:15
+1
A:
Personal I like to use http://jsfiddle.net/. It allows you to test HTML, CSS, Javascript + multiple frameworks all from one simple page.
APShredder
2010-07-31 01:52:48