Toggle radio buttons by clicking the label
I’ve seen a few methods of this using over-elaborate JavaScript, when its really not necessary. All you need to do is wrap the <input with a <label – as a…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
I’ve seen a few methods of this using over-elaborate JavaScript, when its really not necessary. All you need to do is wrap the <input with a <label – as a…
We all have to bind events to elements: $('#link).click(function(){ do some stuff }); But, what if that element doesn’t exist yet? Well, you can use the “live” handler: $('#link').live('click', function(){…