Ajax responseText
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Ajax responseText

  1. #1
    Join Date
    Oct 2003
    Posts
    72

    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?

  2. #2
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,886

    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.

  3. #3
    Join Date
    Oct 2003
    Posts
    72

    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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center