hi again..
if my form has divs like this:
Code:
<DIV ID="DS3Div" style="visibility:hidden;position:absolute;top:90;left:10">
<LABEL FOR="DS3">
Capacity (DS3):
1: <input type="radio" name="cap" value="1" onclick="DS31();">
2: <input type="radio" name="cap" value="2" onclick="DS32();">
3: <input type="radio" name="cap" value="3" onclick="DS33();">
4: <input type="radio" name="cap" value="4" onclick="DS34();">
5: <input type="radio" name="cap" value="5" onclick="DS35();">
6: <input type="radio" name="cap" value="6" onclick="DS36();">
</LABEL>
</DIV>
<<DIV ID="VocSlaveDIV" style="visibility:hidden;position:absolute;top:100;left:10;">
</DIV>
and onclick functions look like this:
Code:
function DS31() {
var DS31STR = "<LABEL FOR=\"DS31\"> <br><br> Vocoder Suite:<br> G.711: <input type=\"radio\" name=\"vocds31\" value=\"1\" onclick=\"capcheck(this);\"><br> G.711,G.726 <input type=\"radio\" name=\"vocds31\" value=\"2\" onclick=\"capcheck(this);\"><br> G.711,G.726,G.729A: <input type=\"radio\" name=\"vocds31\" value=\"3\" onclick=\"capcheck(this);\"><br> G.711,G.726,G.729A,G.729E: <input type=\"radio\" name=\"vocds31\" value=\"4\" onclick=\"capcheck(this);\"> </LABEL>";
VocSlaveDIV.innerHTML = DS31STR;
VocSlaveDIV.style.visibility='visible';
}
function DS32() {
var DS32STR = "<LABEL FOR=\"DS32\"> <br><br> Vocoder Suite:<br> G.711: <input type=\"radio\" name=\"vocds32\" value=\"1\" onclick=\"capcheck(this);\"><br> G.711,G.726 <input type=\"radio\" name=\"vocds32\" value=\"2\" onclick=\"capcheck(this);\"><br> G.711,G.726,G.729A: <input type=\"radio\" name=\"vocds32\" value=\"3\" onclick=\"capcheck(this);\"><br> </LABEL>";
VocSlaveDIV.innerHTML = DS32STR;
VocSlaveDIV.style.visibility='visible';
}
right now when the user comes back to the form after submit, the form is displayed just as it was prior to submit, but the doggone the div is not displayed.
this doesn't seem right from a user perspective...