Enabling form elements on click of checkbox
I am facing a new problem in my application. I've made a form with 10 checkboxes.Each checkbox has 3 fields associated with it..one is the Name(like Company Name,Employee Designation etc),a drop down list and a text box...Now what I want is to enable the fields on click of corresponding checkbox...initially all the fields are set to disabled.
What I am tryin to do with it is-- I've made a form thru which user wud be able to select fields according to his requirement and then the application will query database and search the results for him.
What shud be my code to implement this task?? Can neone help?