Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Thread Tools Search this Thread
Old 26-03-2009
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!!
Reply With Quote
Old 26-03-2009
Join Date: May 2008
Posts: 2,008
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.
Reply With Quote

  TechArena Community > Software > Software Development
Tags: ,

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads for: "parsing of an AJAX-based HTTP request"
Thread Thread Starter Forum Replies Last Post
Error parsing Request: The request subject name is invalid or too long. 0x80094001 (-2146877439) Dharitree Windows Security 4 11-01-2014 10:14 AM
Ajax and Web-based services in ASP.Net 3.5 Daniela007 Software Development 5 26-02-2010 02:21 AM
How to keep AJAX HTTP requests under control In2TheBlues Software Development 3 07-11-2009 08:08 PM
How to fix http 400 bad request Beans Technology & Internet 3 22-08-2009 05:32 PM
Browser is waiting for the Ajax request HANAE Software Development 2 10-03-2009 01:18 PM

All times are GMT +5.5. The time now is 04:10 PM.