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!!
Re: parsing of an AJAX-based HTTP request
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.
|Tags: ajax, http|
|Thread Tools||Search this Thread|
|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|