Simple jQuery code snippets to set and unset input values on radio buttons. Just thought I would share because I was having a few issues with earlier versions of jQuery and setting radio buttons on a form.
//jQuery Set Radio Button $('input[name="correctAnswer"]').attr('checked', false); //To unselect the button $("[name=color]").removeAttr("checked"); //jQuery (1.4+) code to pre-select one button : var presetValue = "black"; $("[name=color]").filter("[value="+presetValue+"]").attr("checked","checked");
Calibre is a fully-automated tool suite for auditing & improving performance. Here's how to use it to detect the impact of running...
Building a Multiplayer TicTacToe Game with Meteor
Paul Orac shows you how to create a realtime, multiplayer version of tic-tac-toe using Meteor. Learn to quickly prototype full-stack...
Introduction to Grunt.JS
A quick introduction to Grunt
Visualizing Data with D3.js
Forms with React and Redux
Easily create forms with Redux Form
Thomas Greco, Jul 12