Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Show/Hide advanced form and submitting


  • From: trojani2000 at hotmail.com (Troy III Ajnej)
  • Subject: [Javascript] Show/Hide advanced form and submitting
  • Date: Tue Feb 6 09:00:24 2007

Hi Bill
> So, I now have "display: none" on the advanced form to prevent it from> initially displaying, but that makes the form not display if> javascript is disabled.> Bill Moseley> moseley@xxxxxxxx
OK, here you are. You need to change your routine.
I use this strategy to display a warning message 
for javascript disabled browsers.
 
1. Set the advanced form to get displayed by default.
2. Add this line of code in your script:
             document.getElementById("advanced").style.display="none"
you're done!
 
Cheers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          Troy III
                            progressive art enterprise 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_________________________________________________________________
Get the new Windows Live Messenger!
http://get.live.com/messenger/overview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.LaTech.edu/pipermail/javascript/attachments/20070206/878fbfc1/attachment.html