View Full Version : Grabbing text from webpage to display on another page.

08-19-2011, 04:35 AM
Bit of a noob when it comes to js. Hope someone can help me out.

I am trying to place text output from a url on another webpage.

The output is the status of an alarm system.

The URL is:


hash and mac info remove for security reasons.

The URL leads to a webpage that outputs:

<update>2011-08-18 21:21:10</update><status> Stay Armed </status><trouble>NO</trouble>

I would like to place these three outputs on another page.

Any ideas?

Old Pedant
08-19-2011, 04:54 AM
Do you mean a popup page? Or you mean you simply want that HTML to be dropped into the middle of an existing page?

If the latter, then how will you invoke that URL from the existing page?

08-19-2011, 01:28 PM
The latter, and that is the question that has stumped me.

I don't know how in invoke that HTML data from the other page into the one I want to display it on.

Showing the data should be as easy as positioning the bracketed code where I need it, right?

Thanks in advance.