Hello,
I have a simple form where a user inputs an account number into an input, on submit it uses Ajax to request information about that account from a database using a server-side ASP page. I am able to take the responseText and assign it to the innerHTML of an element in the page. My question is, how can i parse that responseText (maybe using XML instead) and assign each peice of the response to a different element. (so, i want to populate the account name, address, city, etc. in different labels on the page).
Thanks!
I have a simple form where a user inputs an account number into an input, on submit it uses Ajax to request information about that account from a database using a server-side ASP page. I am able to take the responseText and assign it to the innerHTML of an element in the page. My question is, how can i parse that responseText (maybe using XML instead) and assign each peice of the response to a different element. (so, i want to populate the account name, address, city, etc. in different labels on the page).
Thanks!