...

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



PaulRetlas
08-19-2011, 03: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:


https://www.eye-zon.com/EZMOBILE/index.php?mid=<hash>&action=ssi&did=<mac>

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, 03: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?

PaulRetlas
08-19-2011, 12: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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum