pap
05-24-2007, 09:42 AM
Hi ,
Am new to xml, and now i have to process a xml in javascript function and have to set the vaues in gui and am using ajax for it.
here is the xml
<details>
<wan>
<id>1</id>
<name>wan1</name>
</wan>
<wan>
<id>2</id>
<name>wan2</name>
</wan>
<wan>
<id>3</id>
<name>wan3</name>
</wan>
</details>
i need to set all the id values in a listbox, and name in another list box.
I don't know know to get those values. Can anyone help me with this!...:confused:
Am new to xml, and now i have to process a xml in javascript function and have to set the vaues in gui and am using ajax for it.
here is the xml
<details>
<wan>
<id>1</id>
<name>wan1</name>
</wan>
<wan>
<id>2</id>
<name>wan2</name>
</wan>
<wan>
<id>3</id>
<name>wan3</name>
</wan>
</details>
i need to set all the id values in a listbox, and name in another list box.
I don't know know to get those values. Can anyone help me with this!...:confused: