A Simpler Ajax Path
Subject:   select-one in formData2QueryString
Date:   2005-11-16 08:09:05
From:   inthe80s
While the code provided will work fine in a decent browser like Firefox, Internet Explorer still requires you to pull the index and refer to the text and not just pull the value of the form element. So remove case 'select-one' from the switch, and add it back as a seperate one here:

case 'select-one':
strSubmitContent += + '=' + escape(formElem[formElem.selectedIndex].text) + '&'

1 to 1 of 1
  1. select-one in formData2QueryString
    2005-12-16 10:04:33  brucehodo [View]

1 to 1 of 1