Questions tagged [jsfiddle]

For questions about using jsFiddle, a web application allowing users to create and execute code written in JavaScript, HTML, and CSS. DO NOT use this tag to indicate that your question contains a jsFiddle example.

JSFiddle is an online Integrated Development Environment () that is hosted in a browser allowing users to create and execute code written in JavaScript (using one of the various frameworks, or no framework), , and . It has features enabling users to learn and demonstrate how JavaScript, HTML, and CSS work together, and is often used to provide live examples of problems being encountered.


Documentation

http://doc.jsfiddle.net/

Support

https://github.com/jsfiddle/jsfiddle-issues/issues


Hints

  • The following resource is a YouTube movie that offers a good introduction showing how to use JsFiddle: http://youtu.be/zrWkRHSK6A8
  • If your example on Jsfiddle contains images, you may use a free dynamic generator for images, service, such as lorempixel.com
  • is a similar online tool.

This tag should be used when asking a question about jsFiddle, not because your question merely contains an example hosted on jsFiddle.

1690 questions
56
votes
8 answers

Cancel infinite loop execution in jsfiddle

When you get an infinite loop in jsfiddle in Chrome, your only choice (that I know of) is to close the tab. Of course, this means you lose all your work in the current window! Is there an easy way to stop an infinitely executing script? I have…
mellamokb
  • 56,094
  • 12
  • 110
  • 136
50
votes
5 answers

jQuery event.preventDefault() not working in Firefox (JSFiddle included)

This is a kind of similar duplicate to some others here, but I think I'm using event.preventDefault() correctly in this case. Here's a JSFiddle you can see the code with: http://jsfiddle.net/SeEw2/2/ Basically, click the Submit button. In Chrome:…
Jack
  • 9,615
  • 18
  • 72
  • 112
45
votes
2 answers

What is jQuery (edge) in jsfiddle.net?

In jsfiddle.net if one choose framework as jQuery or Mootools they will get an option for choosing jQuery ( edge ) and Mootools( edge ). I googled it quite a bit but did not get any good answers. My questions are What are those versions? How are…
naveen
  • 53,448
  • 46
  • 161
  • 251
45
votes
4 answers

How to enable jQuery UI in JSFiddle?

There is no option for jQuery UI in the "Frameworks & Extensions" part. Should i add it as an external resource?
prigero
  • 563
  • 1
  • 4
  • 5
45
votes
2 answers

jsfiddle js panel size is stuck! How do I reset it?

Image says it all I think: The draggable for resizing the js/html panels is gone and that js pane is too small! The big problem is that this issue persists after restarting my browser, clearing the cache, and deleting cookies. How do I reset this so…
7yl4r
  • 4,788
  • 4
  • 34
  • 46
44
votes
5 answers

External resources in JSFiddle (Adding Twitter Bootstrap CDN)

I am trying to replicate my issue with JSFiddle but when needed frameworks not supported natively, I believe I will need to import them from external resources. However, clicking + won't open up anything and I am not sure what to do with the URI…
Seong Lee
  • 10,314
  • 25
  • 68
  • 106
43
votes
2 answers

Onclick event not firing on jsfiddle.net

I'm testing some javascript on jsfiddle and for some reason I can't get a function to fire on a button click. Any advice? jsfiddle link
Cronin O'M
  • 692
  • 1
  • 12
  • 19
43
votes
1 answer

What is dots-per-CSS-inch and dots-per-physical-inch

I've received this message from Chrome Developer Tools console tab when access jsfiddle.net: Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual…
Felix
  • 37,892
  • 8
  • 43
  • 55
36
votes
5 answers

Online, real-time, shared JavaScript console?

I would like to use an online tool to work remotely with people to do Javascript learning and testing exercises. The solution could be a shared, public Javascript console. Does such a thing exist? I have seen http://jsfiddle.net. This works ok, but…
SimplGy
  • 20,079
  • 15
  • 107
  • 144
35
votes
3 answers

Jsfiddle errors won't show

Is there any way for Jsfiddle to output javascript errors, an exception, or anything? I have tried to google this, but nothing seems to be out there. I need to place alert() s through out my javascript code, so i know approximately where a runtime…
Oliver Watkins
  • 12,575
  • 33
  • 119
  • 225
33
votes
2 answers

Why jsfiddle is not rendering at all in IE8 and previous versions?

I tried to open http://jsfiddle.net/ in IE8 with BrowserMode-- IE8 and Document Mode--IE8 in developer tools. In other browsers it's working fine, and even in IE9 it's working fine. But I see javascript errors in IE8 and older versions of…
SRy
  • 2,901
  • 8
  • 36
  • 57
33
votes
2 answers

Access variables in jsFiddle from Javascript console?

I created a fiddle with the following code: var x=10; When I try to view this in the console, I get the following: > x ReferenceError: x is not defined Makes sense, as it takes Javascript to run the console. Is there a way to get this working?
Casebash
  • 114,675
  • 90
  • 247
  • 350
29
votes
7 answers

Is there an online temporary code bin for C#? (JS Bin, jsFiddle clones)?

Is there a website that offers simple temporary code bin's for C#? Syntax highlighting is a plus. I've found nice ones for JavaScript: jsFiddle.
Waldo Bronchart
  • 10,152
  • 4
  • 23
  • 29
28
votes
4 answers

How to add font-awesome to JsFiddle

JsFiddle is my laboratory but everything is at a halt at the moment because I cant get font-awesome to work in it. I tried using the space provided for external links but to no avail. I even added the link directly and it still didn't work. I'm in…
Sleek Geek
  • 4,638
  • 3
  • 27
  • 42
27
votes
1 answer

jsfiddle error {"error": "Please use POST request"} when submitting a form

I'm new to using JSfiddle and get this error: {"error": "Please use POST request"} everytime I submit the form. What I have understood, you cannot submit a post request in JSfiddle, so how I can append something to a form?
anon