9 jQuery Samples
posted by John with 4 comments
These are the jsfiddle samples that Dan Wahlin and I covered in our jQuery Fundamentals workshop at DevConnections last week. These were samples we wrote on the fly in http://jsfiddle.net and wanted to share. Enjoy!
Additional jQuery samples covering selectors, DOM manipulation, Ajax techniques, as well as sample applications can be found here.
You can view my other sessions from DevConnections and Orlando Code Camp here:
- Whirlwind Tour of Building HTML5 and JavaScript Apps with MVVM and Knockout
- JsRender Fundamentals: Templating for HTML5 Applications
- Fundamentals of Windows 8 XAML/C# Metro Style Apps
View more of my presentations here.
Using the Data Function
Using Object Literals with jQuery
Using jQuery each() with string concatenation
Using on() to handle child events
jQuery – hover
jQuery – event handling variations
jQuery – Twitter (bind, append, appendTo, each, fadeOut, $.getJSON, callback, success, error, complete)r
jQuery – attr vs prop
JimTankJr on said:
Interestingly recursive to follow a tweet to a blog with a JSFiddle that pulls back the same tweet that brought you here.
repeat poster on said:
Sorry for the repeat of the same comment, did not think it posted (moderated…). Great presentations last week. Not quite ready to abandon WebForms yet, but will be enhancing with jQuery/Ajax/etc. and perhaps MVC to serve JSON.
john on said:
“repeat poster” … No need to abandon WebForms. You can still use a jQuery and stick with WebForms.
sulhin on said:
Super