A
alex.sherwin
Working on a google homepage module. One of the things I do is
retrieve results from a search into a string. I want to be able to
access all the anchors in this string, (their name, href, and
innerHTML) and using regex for string parsing would be tiresome and
difficult for this.
I've searched far and wide, but I can't seem to find out if its
possible to create a new document object (that doesnt refer to the
current document) with a string of text (or the address of the search
result, doesn't matter to me.)
That way, with this new document object, I can simply use the .anchors
attribute for all my needs.
Is this possible?
retrieve results from a search into a string. I want to be able to
access all the anchors in this string, (their name, href, and
innerHTML) and using regex for string parsing would be tiresome and
difficult for this.
I've searched far and wide, but I can't seem to find out if its
possible to create a new document object (that doesnt refer to the
current document) with a string of text (or the address of the search
result, doesn't matter to me.)
That way, with this new document object, I can simply use the .anchors
attribute for all my needs.
Is this possible?