RE: Auto Submit Select Boxes

2002-09-20 Thread Adrian Lynch
onselect I think, I hate JS :O| -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: 20 September 2002 13:25 To: CF-Talk Subject: Auto Submit Select Boxes What's the piece of code that makes a Select box submit on selection without using a button? Rick

RE: Auto Submit Select Boxes

2002-09-20 Thread Chad
I use this code: SCRIPT LANGUAGE=JavaScript !-- function openURL() { // grab index number of the selected option selInd = document.theform.url.selectedIndex; // get value of the selected option goURL = document.theform.url.options[selInd].value; // redirect browser to the grabbed value

Re: Auto Submit Select Boxes

2002-09-20 Thread Sean Daniels
On Friday, September 20, 2002, at 08:25 AM, Rick Faircloth wrote: What's the piece of code that makes a Select box submit on selection without using a button? select name=name onChange=submit() __ This list and all House of

RE: Auto Submit Select Boxes

2002-09-20 Thread Dave Watts
What's the piece of code that makes a Select box submit on selection without using a button? select name=name onChange=submit() The submit method belongs to the Form object, so you'll typically have to specify the path through the DOM hierarchy: select name=name

RE: Auto Submit Select Boxes

2002-09-20 Thread Rick Faircloth
Perfect! Thanks, Sean, and everyone who responded... Rick -Original Message- From: Sean Daniels [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 9:44 AM To: CF-Talk Subject: Re: Auto Submit Select Boxes On Friday, September 20, 2002, at 08:25 AM, Rick Faircloth wrote

RE: Auto Submit Select Boxes

2002-09-20 Thread Robert Polickoski
Rick. I am pretty sure it is the onchange event that will alow you to take an action when someone selects an option. Then you need to programmaticall do a form.submit(). -- Original Message -- From: Adrian Lynch [EMAIL PROTECTED] Reply-To: [EMAIL