I have two radio buttons and one text box, <INPUT name="option" type="radio" value="true"> <INPUT name="option" type="radio" value="false"> <INPUT name="test" type="text" value="Test"> Now, (1)How would I know that which radio button selected by user? (2)When user selects the radio button which has value="false", how can I disable textbox and empty textbox? Thanks, Angela
SCJP, SCJD, SCWCD1.4, IBM486, IBM484, IBM 483, IBM 287, IBM141, IBM Certified Enterprise Developer - WebSphere Studio, V5.0
Author of IBM 287 Simulator Exam