|
| responseHTML description |
Download |
 |
There is no responseHTML attribute belong responseText and responseXML in XMLHttpRequest, but this is not a problem. If we want to get data from another HTML page and insert it into the displayed page, this can be achieved easily.
The responseXML attribute holds an XML document DOM can access, and to provide the equivalent for HTML we need just for a div tag and a JavaScript function that extends Ajax or the framework we are using.
The principle
- A variable or a div tag to store the other web page.
- In the second case, the content is not be displayed, as we make use of the display attribute of CSS with the none value.
- Once the other page assigned to the variable or inserted into the tag , its content is accessible with DOM's methods.
- Actually, only the content of the body tag is taken from the page, as html and head tags do not have to appear inside the body of the page.
- A JavaScript function - It makes use of Ajax to read the other web page as a plain-text, into the responseText attribute and it extracts the content of the body tag. With three indexOf calls and one slice call, the content is extracted. Regular expression could be used alternatively.
|
|
|
| MOST POPULAR DOWNLOADS IN THIS CATEGORY ( Internet, Browsers and Tools ) |
|
 |
URL Downloader |
| URL Downloader is a simple application that allows you to download a file from a web page. |
| Windows/Linux/Mac OS/BSD/Solaris | C/C++ | Rating: Good | Downloads: 10,405 |
|
| new | no screenshots |
 |
| June 4th, 12:56 GMT |
|
 |
PHProxy 0.5b2 |
| PHProxy is a web HTTP proxy designed to bypass proxy restrictions through a web interface. |
| Windows/Linux/Mac OS/BSD/Solaris | PHP | Rating: Fair | Downloads: 5,389 |
|
| update | no screenshots |
 |
| January 3rd, 17:17 GMT |
|
 |
IceWeasel 1.5.0.7 |
| IceWeasel is the GNU version of the Firefox browser. |
| Linux/BSD | C/C++ | Rating: Fair | Downloads: 4,552 |
|
| new | no screenshots |
 |
| July 4th, 10:16 GMT |
|
 |
Fake mailer |
| Fake mailer is a new version of FakeMailer (uses MIME and sends attachments). |
| Windows | C/C++ | Rating: Fair | Downloads: 3,130 |
|
| new | no screenshots |
 |
| January 3rd, 15:40 GMT |
|
 |
Konqueror 3.4 |
| Konqueror is an Open Source web browser with HTML 4.01 compliance, supporting Java applets, JavaScript, CSS 1, CSS 2.1, as well as Netscape plugins |
| Linux/BSD | C/C++ | Rating: Good | Downloads: 2,136 |
|
|
 |
Ajax Loader |
| Ajax Loader script allows you to load XML and HTML files with XMLHTTPREQUEST. |
| Windows/Linux/Mac OS/BSD/Solaris | JavaScript | Rating: Fair | Downloads: 2,035 |
|
| new | no screenshots |
 |
| June 4th, 14:40 GMT |
|
 |
online-manga-viewer |
| online-manga-viewer - Online manga viewer build with speed in mind |
| Windows/Linux/BSD/Solaris | PHP | Rating: Good | Downloads: 1,629 |
|
| update | no screenshots |
 |
| July 30th, 07:53 GMT |
|
|
|
|
|
 
| Welcome! |
Hello, Guest
Login if you have a Softpedia.com account.
Otherwise, register for one.
|
|