load external url

Why doesn’t this work?

scheduler.load("http://ical.mac.com/ical/US32Holidays.ics", "ical");

Data must be loaded from the same domain. This is security rule of browser.

You can use some kind of server side proxy


and in php request the real file from remote server and output it.
In such case scheduler will operate with local php file ( remote data loading is hidden from client )