0

I'm looking for a way to take services notices off of this website;

http://mobile.bcferries.com/cc/mobile/service-notices.asp

and inserting just the list of notices (hopefully with my own custom CSS) into a div at the page load.

I'm fairly new to the jQuery library and what capabilities it has to do something like this. But if it helps I'm quite literate in Javascript, Html, and CSS.

Any help would be massively appreciated Thanks, James

1
  • you can set Access-Control-Allow-Origin to * or the domain, or use a proxy Commented Aug 24, 2012 at 2:01

1 Answer 1

2

JavaScript has the same origin policy.That means it can not read the contents of another domain. Some browsers support CORS, but the site has to set up to accept those requests. If there is no API for it, you need to use a serverside language to scrape the data and proxy it from your own domain.

Anotheroption is to use a service like Yahoo pipes with JSONP.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.