On Tue, 30 Jan 2007, Tris wrote: > I've got a form.. (a form!) that s giving me grief.. > I want the form to self submit when I change a SE:ECT option. > all good, javascript etc... Buuuut... > > top of my form: > <form id="bookingForm" name="bookingForm" method="post" > action="<?=$_SERVER['REQUEST_URI']?>"> > > > and further down.. > <select name="departure" id="departure" > onChange="document.forms['bookingForm'].submit(); return true;"> > > i've tried using this: > this.form.submit();
try onchange="document.bookingForm.submit()" Alternatively, parent.submit() *might* work, dunno though. Don't know why this.form.submit() didn't work, I think it should. You should be able to remove the return true off the end of the onchange, I don't think it's needed. Cheers Dave P ____ The WDVL Discussion List from WDVL.COM ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or use the web interface http://e-newsletters.internet.com/discussionlists.html/ Send Your Posts To: wdvltalk@lists.wdvl.com To change subscription settings, add a password or view the web interface: http://intm-dl.sparklist.com/read/?forum=wdvltalk ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: archive@jab.org To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.