Good afternoon guys,

 

I'm pretty much a jQuery novice and I'm looking for your advice on how to
achieve this task. I have two input fields which I want to be disabled by
default, with a checkbox which is checked. Then, if a user unchecks the
checkbox it will enable the two fields for them to enter data in.

 

In addition to this, if they enter information into the two fields and then
recheck the box, I would like it to clear any values they entered and
disable them again.

 

Can anyone offer any pointers or code for this?

 

Many thanks guys,

 

Robert

Reply via email to