Tutorial: HTML Templates with Mustache.js | Christophe Coenraets.
Category: JavaScript
Building HTML5 Applications – Integrating Geolocation into Web Applications
Create a JSON WebService in ASP.NET 2.0 with a jQuery Client – CodeProject
Working with Validators and Messages in AngularJS
Short js snippets working with js jquery and bool valuesinput checkboxes
Get value of checkbox (jquery):
$('#myCheckboxInput').attr('checked')
– returns bool true or bool false
Set value of checkbox (jquery):
$('#myCheckboxInput').attr('checked', true)
Second parameter can be true or false.
Convert true or false strings to bool (js):
var myBoolValue = (myString.toLowerCase() === "true");
This is when you know the string will be ‘True’ or ‘FALSE’ for instance. Accepts all case variations of ‘TRUE’ and ‘false’.
Simple drag ‘n drop Javascript for iPhone and iPad | Popdevelop
Allan Jardine | Reflections | Visual Event
Events in Javascript are often seen as a bit of an enigma. This is odd given that Javascript is very much an event driven language, but it is typically down to their complex nature and difficulty to debug. To this end I’ve created Visual Event to help track events which are subscribed to DOM nodes.
javascript – Window.onload vs document.ready ? – Stack Overflow
The ready event occurs after the HTML document has been loaded, while the onload event occurs later, when all content (e.g. images) also has been loaded.
The onload event is a standard event in the DOM, while the ready event is specific to jQuery. The purpose of the ready event is that it should occur as early as possible after the document has loaded, so that code that adds funcionality to the elements in the page doesn’t have to wait for all content to load.
via javascript – Window.onload vs document.ready ? – Stack Overflow.
Chrome Web Store – Visual Event – Show jQuery event listening code
Ever want to know which line of javascript code that is listening to a certain event on an element? Even when working with jQuery?
This tool for Chrome is really sweet!
Chrome Web Store – Visual Event.
However its seems to be native functionality in Chrome already?
See Paul Irish posting here:
https://groups.google.com/forum/#!topic/google-chrome-developer-tools/NTcIS15uigA
Didnt get it to work in my Chrome browser although. (just like the latest posts in above forum – just shows jquery source code)
Instafeed.js – a simple Instagram javascript plugin
Instafeed.js is a dead-simple way to add Instagram photos to your website. No jQuery required, just plain ‘ol javascript.