Archive for August, 2009
Set selected/checked in forms with jQuery
August 19th, 2009 - Code
I've been working on a shopping cart site recently, and one of tasks I had to do was selecting specific options in dropdowns and radio buttons on the fly, so I used jQuery since I thought it was about time. I looked up a number of ways of achieving this, normally conflicting, so I thought I'd document the methods that worked for me.