Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Populating a combo with xml data
Message
Information générale
Forum:
Internet
Catégorie:
XML
Divers
Thread ID:
01180140
Message ID:
01180634
Vues:
16
>Hi John,
>
>I have not had the need to do this so have no experience with it, but are you saying you need to populate the ddl on the client side by javascript code, or populate from the backend side?
>
>If the former I have no idea at this point. If the latter, I would think you should be able to convert the XML to a DataSet/DataTable and bind to that or you could also traverse the the XML programmatically and populate the ddl manually.
>
>Hopefully someone who has actually done this will jump in and provide details.
>
>Bill

Here is the page. It still has some "issues", like it doesn't load until you click the combobox. I think it has to do with the readystate property. Actually, it starts with the combo boxes empty, then when you click, it statrts the ajax call, which was supposed to start in the body onload(). So you wind up clicking it three times before it fills with data. I'll work it out, because it is pulling the data and loading the combo, just not at the right time right now.

http://www.shelbynet.com/wconnect/compareofficials.htm

John
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform