You can use
CSpider.getWebVar("ComboBoxName") to grab the value that the user selected.
I used this value to set the display value of the combo box like Peter suggested and
it works perfectly.
"peter cheung" <[EMAIL PROTECTED]> wrote:
>
>If the only thing you want is to set the value of the combo box to a previous value,
>you can in the onbeforedisplay method of the combo box and set the display value of
>it to what you want.
>
>
>
>
>"Manisha" <[EMAIL PROTECTED]> wrote:
>>
>>Hi All,
>>I have a text box in form whose display depends on the user's selection of item in
>combo box.
>> I have a javascript function which is invoked on onChange of the Combo Box.
>>This reloads the page and so the next time the text box is displayed on the basis of
>the value selected in the combo box.
>>
>>PROBLEM is that the next time when user reloads the page the combo box does not
>reflect the value selected by user earlier. It instead displays the default value
>each time the page is re-loaded.
>>Can some one suggest a work around or a possible solution to this please??
>>
>>Thanks
>>Manisha
>>
>
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]