Is there an alternative to document.body.innterHTML ?

Discussion in 'JavaScript' started by arbos, May 8, 2006.

  1. #1
    I'm working on a little script that works with iframes and want to find and grab something from the users page inner HTML. I hear that using document.body.innterHTML is frowned upon and should be avoided.

    is there another method within PHP or javascript that will allow somebody to look into the innerHTML (users source of your page) of the visitors page in order to extract certain data?

    Would anyone be able to provide me with an example of how document.body.innerHTML (or an alternative) would be used to find and grab something?

    Sorry I'm an offline developer and just now picking up PHP, JAVA, and a little AS to get caught up on this ajax hoopla so I apologize again for all the questions that may seem rather simple.
     
    arbos, May 8, 2006 IP
  2. Slapyo

    Slapyo Well-Known Member

    Messages:
    266
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Slapyo, May 10, 2006 IP