-
Ajax responseText
Hi all
I'm starting to view ajax only from some days
I want to ask you a simple question
I have to manipulate the responsetext from an asp page.
I know that responseText is retrieved like a string but with the server's response I have to update two different div (with innerHTML) with different parts of the responseText
Does exist some method or function that allow me to manage this response so I can easily update what I want?
-
Re: Ajax responseText
You can return information split by an obscure character. Then using JavaScript's split() function, you can make and array with the corresponding index updating a particular <div> tag.
-
Re: Ajax responseText
Thanks
Your idea is very useful
:)