PDA

View Full Version : Chained Selects: autosubmit after select



Sirius
01-07-2013, 03:38 AM
1) Script Title: Chained Selects

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex16/chainedselects/index.htm

3) Describe problem:

I want the Chained Selects with a autosubmit after selected the last field. I tried it with onchange='this.form.submit()' and onchange="goListGroup(document.listmenu0.firstlevel, document.listmenu0.secondlevel, document.listmenu0.thirdlevel) in the select tag but it doesn't work.

jscheuer1
01-20-2013, 04:20 PM
The sister script:

http://www.dynamicdrive.com/dynamicindex1/chainedmenu/index.htm

already has that functionality built in, albeit with a GO button. Perhaps that would be sufficient. If not, you can simply take the onclick event of the GO button and make it the onchange event of the last select.

However, it's better to leave it the way it is, so that users can have a little more control over when they leave the page, in case they selected the wrong thing, it gives them a chance to review their choices.

kalehosting
05-09-2013, 03:06 PM
The sister script:

http://www.dynamicdrive.com/dynamicindex1/chainedmenu/index.htm

already has that functionality built in, albeit with a GO button. Perhaps that would be sufficient. If not, you can simply take the onclick event of the GO button and make it the onchange event of the last select.

However, it's better to leave it the way it is, so that users can have a little more control over when they leave the page, in case they selected the wrong thing, it gives them a chance to review their choices.

hi, I'm using that script. And this is too usially.

Thanx for script. And I want to auto submit for last select. And I'm putted onChange event but not working. How is work/submit with selecting or changing last select ?