Results 1 to 2 of 2

Thread: dropdown list submit problem

  1. #1
    Join Date
    Mar 2005

    Post dropdown list submit problem

    I have a drop down list in a form and set the form action to my
    database results page. I use a Onchange event that uses the form name and is added to the select tag. When I select a choice from the list, the selected
    option will be submitted to a form handler when a selection is made
    automatically and its will display data in text box also. This selection is success, but got one problem is i have many drop down list in the form, when i use the onchange event to make selection, the other textbox value will disappear and i need to input again...how to solve this problem???

    *****i use this script******
    function combo_onchange() {

    <form name="frmSelect" method="Post"></form>

  2. #2
    Join Date
    May 2003
    Between Baltimore and DC
    You are going to have to develop a function that remembers the values and reslects them.

    Are these dropdowns hardcoded into the HTML or are they created on the server?

    Tech Author [Ajax In Action, JavaScript: Visual Blueprint] | twitter | linkedin | http://www.pascarello.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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