[thelist] onchange...?

Anthony Baratta anthony at baratta.com
Wed May 16 11:43:08 CDT 2007

Firefox says:

"Error: myform.submit is not a function
Source File: http://www.tlc-rewards.com/5441jp/?page=booking
Line: 97"

When you call your function you are misusing "this". This applies to the select box, not to the form.

<select name="by1" id="by1" onChange="goForm(this.form);">

try this instead...

<select name="by1" id="by1" onChange="goForm(document.form1);">

And what exactly are you trying to do here? Submit the form on each onchange event?? I would recommend that you AJAX this call and save on the full page refresh and target your HTML changes to specific elements.

-----Original message-----
From: Tris beertastic at gmail.com
Date: Wed, 16 May 2007 09:28:19 -0700
To: wdvltalk at lists.wdvl.com, "thelist at lists.evolt.org" thelist at lists.evolt.org
Subject: [thelist] onchange...?

> http://www.tlc-rewards.com/5441jp/?page=booking
> The first 'By' has an onchange atribute..
> but it doesn't work...
> the 4 developers in teh office can't see why.. can anyone else??
> :-(
> Tris...
> -- 
> When a person can no longer laugh at himself, it is time for others to laugh
> at him.
> Thomas Szasz
> -- 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> For unsubscribe and other options, including the Tip Harvester 
> and archives of thelist go to: http://lists.evolt.org 
> Workers of the Web, evolt ! 

More information about the thelist mailing list