Want to set a value of a combox, using a string

S

SpiderFly

I have a popup window where a user can select from a list of address
records. When passing the details back to the calling screen i set all
the address fields using code like this:

Page.main.fldStreet.value = retStreet;
Page.main.fldCity.value = retCity;

but the problem i'm haveing is setting the selection of the combo box
for country codes using the returned country code value. i know there
is a setSelectedIndex but this doesn't help much. is there an
equivelent .value = ?
 
S

SpiderFly

Silly server side html generator is making up it's own "option=" bits
in the <select>.

Silly me. sorted it now. thanks for the help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top