Results 1 to 3 of 3

Thread: Chained Selects: autosubmit after select

  1. #1
    Join Date
    Jul 2012
    Location
    Germany
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Chained Selects: autosubmit after select

    1) Script Title: Chained Selects

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ects/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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,132
    Thanks
    44
    Thanked 3,229 Times in 3,190 Posts
    Blog Entries
    12

    Default

    The sister script:

    http://www.dynamicdrive.com/dynamici...menu/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.
    Last edited by jscheuer1; 01-20-2013 at 04:30 PM. Reason: detail
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how is auto submit for last select

    Quote Originally Posted by jscheuer1 View Post
    The sister script:

    http://www.dynamicdrive.com/dynamici...menu/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 ?

Similar Threads

  1. Chained selects
    By enviro in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 01-11-2008, 06:22 PM
  2. PHP Chained selects
    By jes.dodd in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 10-05-2007, 07:38 AM
  3. Chained selects
    By Bornfree in forum Dynamic Drive scripts help
    Replies: 9
    Last Post: 05-15-2007, 11:26 PM
  4. Chained Selects - return database info to select menus
    By button1 in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 10-31-2006, 03:47 PM
  5. Help with Chained Selects
    By prakashivb in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 08-28-2005, 08:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •