-
how to use radio/checkbox to control text field or button
Hi,
Could someone tell me how to use radio/checkbox to control the display of
text field or button. For example, when click on radio, one text field related
to it will show up. I tried the following way, but the text field showed
in a new window, not next ot the radio.
....
<input type=radio name="first" onclick="addfield()">
<script LANGUAGE="JavaScript">
<!--
document.writeln("<b>Re-enter</b><input type=text name=\"pass\"><br>");
-->
</script>
....
Any help is appreciated!
Bao
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|