Help with jQuery to disable input fields using select options
I'm trying to use jQuery to do the following but have had no luck in doing so. I'm fine at doing this in PHP, but not sure how to do this for jQuery. I've got two options on a select which when option 1 is selected I want all 3 text input fields to be disabled and a class of 'disabled' being added to all 3 of the text fields (data1, data2 and data3). However if option 2 is selected then they remain available to add text in. Please see jsfiddle link below and of course feel free to add code to it.
Thanks in advance.
... here, this is me being nice: http://jsfiddle.net/x5mfX/2/
Last edited by s-p-n; 03-21-2013 at 01:11 AM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)