responseHTML PHP script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: responseHTML.txt
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: PHP
  • Price:Freeware
  • Company: Xul.fr (View more)

responseHTML script description:




Publisher review:
responseHTML script loads another page using responseHTML attribute. 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.
responseHTML is a PHP script for Internet, Browsers and Tools scripts design by Xul.fr. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
loads another page using responseHTML attribute.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5