Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

netscape display=none causes hidden form object to be ignored onsubmit

Status
Not open for further replies.

joelwenzel

Programmer
Jun 28, 2002
448
I have several tab sheets on my webpage. The way the work is that if a user clicks on a tab at the top(tabs are just cells in a table), the tabBody for that tab becomes visible(display=block) and the other tabs are hidden(display=none). The problem is that in netscape, if I try to submit a form, only the tabs that are displayed are submitted. Is there any way to make all elements submit? Is there a css submit that executes when a form is submitted similar to @media print that executes when a page is printed?

I don't want to correct the problem using visibility instead of display. that will just create display problems.

I know I could fix the problem by running some javascript code in onsubmit that sets the display of everything to block but I was hoping there might be a better solution.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top