Results 1 to 2 of 2

Thread: parsing of an AJAX-based HTTP request

  1. #1
    Join Date
    Mar 2009
    Posts
    1

    parsing of an AJAX-based HTTP request

    Hi, as the name implies only started on js this week, so this is prob a silly/easy question....

    I want to display the devices on my lan from the routers lanStats.htm page.
    That was easy enough xmlhttprequest got that and displayed it in my <div id="show"...
    now i would like to parse the xmlhttp.responseText string to display just some of the <td... elements in the xmlhttp variable
    onto my page, is this possible with js?

    Have been googl'ing for the past few nights and still nothing...

    I dont think spliting the string would be much good as the length of the html string changes when more devices are connected...

    Any help would be greatly appreciated!!

  2. #2
    Join Date
    May 2008
    Posts
    2,012

    Re: parsing of an AJAX-based HTTP request

    Ajax, or AJAX (Asynchronous JavaScript and XML), is a group of interrelated web development techniques used to create interactive web applications or rich Internet applications. With Ajax, web applications can retrieve data from the server asynchronously in the background without interfering with the display and behavior of the existing page. The use of Ajax has led to an increase in interactive animation on web pages. Data is retrieved using the XMLHttpRequest object or through the use of Remote Scripting in browsers that do not support it. Despite the name, the use of JavaScript and XML is not actually required, nor do the requests need to be asynchronous. The acronym AJAX has thus changed to the term Ajax, which does not represent these specific technologies.

    In many cases, related pages on a website consist of much content that is common between them. Using traditional methods, that content would have to be reloaded on every request. However, using Ajax, a web application can request only the content that needs to be updated, thus drastically reducing bandwidth usage and load time.
    The use of asynchronous requests allows the client's Web browser UI to be more interactive and to respond quickly to inputs, and sections of pages can also be reloaded individually. Users may perceive the application to be faster or more responsive, even if the application has not changed on the server side.
    The use of Ajax can reduce connections to the server, since scripts and style sheets only have to be requested once.
    State can be maintained throughout a Web site. JavaScript variables will persist because the main container page need not be reloaded.

Similar Threads

  1. Replies: 4
    Last Post: 11-01-2014, 10:14 AM
  2. Ajax and Web-based services in ASP.Net 3.5
    By Daniela007 in forum Software Development
    Replies: 5
    Last Post: 26-02-2010, 02:21 AM
  3. How to keep AJAX HTTP requests under control
    By In2TheBlues in forum Software Development
    Replies: 3
    Last Post: 07-11-2009, 08:08 PM
  4. How to fix http 400 bad request
    By Beans in forum Technology & Internet
    Replies: 3
    Last Post: 22-08-2009, 05:32 PM
  5. Browser is waiting for the Ajax request
    By HANAE in forum Software Development
    Replies: 2
    Last Post: 10-03-2009, 01:18 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,558,061.51474 seconds with 17 queries