Pretty Radio Buttons12 Sep 2009
This tutorial is an extension of Aaron’s blog. This tutorial shows how to implement radio button using checkboxes and css with the help of jQuery.
I am working on a project in that i required some pretty checkboxes as well as some radio buttons. I googled on the web and found aaron’s blog. but that script just supports the checkboxes. It was really fascinating but i needed radio button also
I gave up googling the web, sat back and started tweaking the aaron’s script.
Let’s go to the code
1.) HTML Demo Radio buttons This is first radio button Select This is second radio button Select
2.) jQuery I have written little jQuery to make this running. The jQuery code is described below.
Copy and paste this code in jQuery’s ready function and you are done.