How to get data from different web pages
My question is how could I pick up information (by using JQuery selectors) from more than one web page, and put all of them in the same place, for example, another window with a blank document. For example, I want to apply this JQuery selector from 3 different pages, but I would want to load only one script that puts all of them in the same document, which is placed in another window (this last part is no relevant, I don't mind if they are finally placed in a new window or simply in a string):
var searching_with_selectors = $("body div#introduction a")[0].innerHTML + "<br />";
This selector can be applied to 3 different web pages:
www.example_page_1.com,
www.example_page_2.com and
www.example_page_3.com
Each of them has different content, but placed in the same place (in selector's syntax). How could I get the info from all of them with only one script?
Thank you so much!