Guest Deleted Posted December 8, 2014 Report Share Posted December 8, 2014 I wrote a script on JSFiddle where all I want to do is log the contents of a textarea to the console. However, it won't even call the init() function let alone my returnChecker() function. How come? My Fiddle: http://jsfiddle.net/8aebwn4o/1/ Quote Link to post Share on other sites
HartleySan 826 Posted December 8, 2014 Report Share Posted December 8, 2014 Probably because JSFiddle sucks. But in all seriousness, I imagine that any code you type into the JSFiddle textarea is going to behave slightly differently than regular JS. Edit: Here's the answer: http://stackoverflow.com/questions/5468350/javascript-not-running-on-jsfiddle-net Quote Link to post Share on other sites
Guest Deleted Posted December 8, 2014 Report Share Posted December 8, 2014 *visits the link and reads* Hmm, I see. Probably not worth my time to use sites like JSFiddle, then. I was just using it to save time (it saves me from having to create actual files for each piece of the page) but if the site is requiring me to alter the way I code just to accomodate the environment then maybe it's not a time saver, it's a waste of time I guess I'll go back to what I was doing before. Hehe. Quote Link to post Share on other sites
HartleySan 826 Posted December 9, 2014 Report Share Posted December 9, 2014 While I personally don't like JSFiddle (and I while I was being a bit facetious in my remark about JSFiddle), it's not a bad prototyping tool. As long as you're aware of its limitations, etc., you can still use it to get you 90% there. Quote Link to post Share on other sites
Guest Deleted Posted December 9, 2014 Report Share Posted December 9, 2014 Hmm, I see. Thanks for the information. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.