gamebits
asked on
Show Hide span tag on checkbox selection
Quite simple question for a javascript expert I'm sure; I want to be able to show an extra input field with his label if the user check a checkbox
<input type="checkbox" name="slabed[]" value="1"> <b>Slabed</b> <span><b>By</b><input type="text" name="slabedby[]"></span>
some details: Dynamic form
within a PHP script
could have more than one field hence the bracket [] for making array of the form submission.
Has to work in all major Browsers
The input field inside the tag might turn out to be a dropdown instead, not sure yet.
<input type="checkbox" name="slabed[]" value="1"> <b>Slabed</b> <span><b>By</b><input type="text" name="slabedby[]"></span>
some details: Dynamic form
within a PHP script
could have more than one field hence the bracket [] for making array of the form submission.
Has to work in all major Browsers
The input field inside the tag might turn out to be a dropdown instead, not sure yet.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Awsome
Thanks
Look for the other question it will be posted shortly.
Thanks
Look for the other question it will be posted shortly.
ASKER