arbos
May 8th 2006, 4:39 pm
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.
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.