-
December 27th, 2007, 07:17 AM
#1
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?
-
December 27th, 2007, 02:17 PM
#2
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.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
December 28th, 2007, 06:41 AM
#3
Re: Ajax responseText
Thanks
Your idea is very useful
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|