Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    Aug 2002
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    triple combobox: going back

    I like the triple combobox script by Hamid Cheheltani and it suites my purpose fine. I have sussed out how to adapt to my needs as well.
    There is a minor hiccup and this can be seen if one uses the script: http://www.javascriptkit.com/script/...plecombo.shtml

    Now I went through the entire process of selection and got to the desired destination page. However, on going back through the browser "back" button, the page is inconsistent in the way it reloads. I sometimes get back with the first box already selected to my original selection. Then I cannot perform any new selections on the second (or third) for the same first choice unless I choose a different first box then reselect the original choice for box 1.

    Can anyone help or have I confused everyone?

    Thanks.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    626
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You could try using the onLoad event in the body tag to perform a script that would reset the form when the page loads. Something like this:

    <SCRIPT LANGUAGE="JavaScript">
    function resetform()
    {
    document.form_name.reset()
    }
    </SCRIPT>

    <body onLoad="resetform()">

  • #3
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Slighty off topic, but why do people keep calling SELECT objects 'combo boxes'? Which they are not!

    Oh, and requestcode's code should do you just fine.

  • #4
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    Originally posted by beetle
    Slighty off topic, but why do people keep calling SELECT objects 'combo boxes'? Which they are not!
    Because not everyone has a background in MFC or Visual Basic.

  • #5
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, to be honest, I don't either. In the three short years of my web experience, only when I registered at these forums (< 1 month ago) did I first hear SELECT objects termed 'combo boxes'. I just don't understand where it's coming from.....

  • #6
    New Coder
    Join Date
    Aug 2002
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks Guys.

  • #7
    New Coder
    Join Date
    Aug 2002
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The triple combobox (sorry beetle select object) is serving its function only its' interfering with my js scroller.


    http://www.dingliswallows.com/archives.php

    Has anyone a clue?


  •  

    Posting Permissions

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