I want to add information inside div.latlong element on www.wta.org/go-hiking/hikes/high-rock) onto my website.
This code results in file not found.
$("#div1").load("http://www.wta.org/go-hiking/hikes/high-rock div.latlong");
I want to add information inside div.latlong element on www.wta.org/go-hiking/hikes/high-rock) onto my website.
This code results in file not found.
$("#div1").load("http://www.wta.org/go-hiking/hikes/high-rock div.latlong");
In order to access elements from another site you'll need their server to accept CORS (cross origin requests)
To do this, you'll need access/permission to said webserver. So if it's owned by someone else that you do not know are unable to request such things from, it will be unable to be done. If you do you can enable CORS with various methods in both nginx and apache