Hi all,
I'm writing a greasemonkey script wherein i make a GM_XmlHttpReque st to a site and get back a response. This response.respon seText gives me the html source of the page.
However the web page is built awfully and is now well formed. As a result i'm not able to build XMLObject properly as it gives a parsererror. I've tried to make the html better but there are too many to fix.
So what i was thinking is that, i would get only the block of TR that's useful to me. I've using RegExp but they don't seem to work.
There is at least some 25 tags that are inside the TR that i'm trying to get.
Is there any way i can do this?
Thanks.
I'm writing a greasemonkey script wherein i make a GM_XmlHttpReque st to a site and get back a response. This response.respon seText gives me the html source of the page.
However the web page is built awfully and is now well formed. As a result i'm not able to build XMLObject properly as it gives a parsererror. I've tried to make the html better but there are too many to fix.
So what i was thinking is that, i would get only the block of TR that's useful to me. I've using RegExp but they don't seem to work.
There is at least some 25 tags that are inside the TR that i'm trying to get.
Is there any way i can do this?
Thanks.
Comment