workinprogress
08-14-2008, 12:30 AM
Hi all,
Major noob here; what I want to do is show/hide an array consisting of one checkbox (ID=pss) and two textbox fields (IDs=images and bases) when a checkbox is checked/unchecked (show when checked) I do not know how to toggle the array off and on, and I've been searching the web for four hours now...about to pull my hair out, so any help at all is MUCH appreciated...here's the lame code I have so far:
JS:
<script type="text/javascript">
function Toggle1
var arrayJP = new Array("pss","images","bases"); {
</script>
HTML:
<span class="formw">
<span class="span-1">
<input type="checkbox" name="Language 1:" id="lang1" value="Japanese" onclick="Toggle1('arrayJP', this)"></span>
<span class="span-2">Japanese</span>
Major noob here; what I want to do is show/hide an array consisting of one checkbox (ID=pss) and two textbox fields (IDs=images and bases) when a checkbox is checked/unchecked (show when checked) I do not know how to toggle the array off and on, and I've been searching the web for four hours now...about to pull my hair out, so any help at all is MUCH appreciated...here's the lame code I have so far:
JS:
<script type="text/javascript">
function Toggle1
var arrayJP = new Array("pss","images","bases"); {
</script>
HTML:
<span class="formw">
<span class="span-1">
<input type="checkbox" name="Language 1:" id="lang1" value="Japanese" onclick="Toggle1('arrayJP', this)"></span>
<span class="span-2">Japanese</span>