Jump to content

Text box displaying question


cturner

Recommended Posts

I am wondering if someone could please tell me how I can keep a text box that has style="display: none;" in it from disappearing after a submit button has been pressed? I have the following code to make the text box appear:

[code]
function showTextField1(el) {
if (el.selectedIndex) {
switch (el.selectedIndex) {
case 7:
document.forms[0].elements['other1'].style.display = "";
break;
}
}
}
[/code]

Thanks in advance.
Link to comment
https://forums.phpfreaks.com/topic/35161-text-box-displaying-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.