Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Grabbing text from webpage to display on another page.

    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:

    Code:
    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:

    Code:
    <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?

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,594
    Thanks
    78
    Thanked 4,386 Times in 4,351 Posts
    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?

  • #3
    New to the CF scene
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •