searching html documents

Discussion in 'Javascript' started by David Rwj Cherry CS2000, Nov 27, 2003.

  1. hi,
    i was wondering if you could cast some light on a confusing subject. is
    there a way which you know of that can search through html documents and
    extract selected information, and display that in another (main) html
    document??

    any clarification on this would be greatly appreciated.

    thanks

    david
     
    David Rwj Cherry CS2000, Nov 27, 2003
    #1
    1. Advertising

  2. David Rwj Cherry CS2000 <> writes:

    > i was wondering if you could cast some light on a confusing
    > subject. is there a way which you know of that can search through html
    > documents and extract selected information, and display that in
    > another (main) html document??


    Plenty.

    > any clarification on this would be greatly appreciated.


    Definitly! What is it you want to do?

    Where do the pages come from (if not from the same domain, it's
    impossible in a normal browser). What do you have: A loaded page
    in a window or just the URL?

    Suggestion:
    Use DOM to create an iframe. Load the page into the iframe.
    Use DOM to traverse the document tree of the loaded page.

    /L
    --
    Lasse Reichstein Nielsen -
    DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
    'Faith without judgement merely degrades the spirit divine.'
     
    Lasse Reichstein Nielsen, Nov 27, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Darrel
    Replies:
    1
    Views:
    313
    Steve C. Orr [MVP, MCSD]
    Feb 18, 2005
  2. sal achhala

    Searching random XML documents

    sal achhala, Feb 25, 2004, in forum: XML
    Replies:
    3
    Views:
    458
    Martin SChukrazy
    Feb 27, 2004
  3. Replies:
    1
    Views:
    482
    Juan T. Llibre
    Oct 18, 2006
  4. AAaron123
    Replies:
    1
    Views:
    1,004
    Alexey Smirnov
    Nov 17, 2009
  5. stumblng.tumblr
    Replies:
    1
    Views:
    207
    stumblng.tumblr
    Feb 4, 2008
Loading...

Share This Page