Wednesday, July 1, 2009

[jQuery] Re: GM_xmlhttpRequest sort data

would loading it into a hidden div, pulling what you need from it then empty the div help?

Dman wrote:
Is there really no way? Anyone, please reply.  On Jun 26, 2:20 am, Dman <dman...@gmail.com> wrote:   
bump help please  On Jun 25, 1:16 am, Dman <dman...@gmail.com> wrote:      
Hello, I am trying to get a html page using GM_xmlhttpRequest, store the html page code, in a var, and sort some data from it. GM_xmlhttpRequest({ method: 'GET', url: 'http://www.myurl.com/test.html', onload: function(html) {         html = html.responseText;         $(html).("div[style*='font-size']").each(function(i){         alert(i);                                                                            });}       
                           }); html contains the correct code, but I can't sort the data like I could in $(document).("div[style*='font-size']"). Any ideas?       
Thanks       
   

No comments:

Post a Comment