[Javascript] Show/Hide advanced form and submitting

Roger Roelofs rer at datacompusa.com
Tue Feb 6 03:51:37 CST 2007


Bill,

On Feb 6, 2007, at 1:55 AM, Bill Moseley wrote:

> On Tue, Feb 06, 2007 at 12:09:40PM +1100, Roland Neilands wrote:
>> Bill,
>>
>> This sounds like what you're after:
>> http://www.quirksmode.org/dom/usableforms.html

--------- 8< -------
> I wanted to make it so if Javascript is disabled that the advanced
> form would show.  The problem with that is with Javascript *enabled*
> the form first shows then vanishes when the onLoad event runs.  Kind
> of ugly.

You need a 'dom ready' event.  This has been discussed a fair bit  
over the last year.  Start at http://dean.edwards.name/weblog/2006/06/ 
again/ to see some ways to solve this.

-- 
Roger Roelofs
Datacomp Appraisal Services




More information about the Javascript mailing list