Skip to content Skip to sidebar Skip to footer

Javascript Which Copy Content Which Is Into A Html Div Into Another Page Created By Me

i need something written in javascript or jquery that copy a content of a page (for example there is a page with a html table in which there are lot of fields about the weather in

Solution 1:

I guess what you are asking about is web Scraping.

There is a Javascript framework to handle this called PJScrape, there may be others and a G* search should help you.

There is also a question regarding simple scraping here on stackexchange.

Solution 2:

You can't do this with JavaScript because of Same Origin Policy. You need to download this page with PHP and then parse your values. You can use for example PHP Simple HTML DOM Parser to work with downloaded page like with JavaScript (there are examples on their site so i dont append example code here)...

Post a Comment for "Javascript Which Copy Content Which Is Into A Html Div Into Another Page Created By Me"