Is it possible to do an Ajax request for an ICS file?

Posted by Kyle on Stack Overflow See other posts from Stack Overflow or by Kyle
Published on 2010-05-12T21:11:00Z Indexed on 2010/05/12 21:14 UTC
Read the original article Hit count: 156

Filed under:
|
|
|
|

I am trying to do an Ajax request for an ICS file. Yeah, I know it sounds crazy, but I found the perfect library to parse the iCal data. Any ideas why the data comes up blank when I do this?

$.ajax({
 success:function(data){
  alert(data);
 },
 url:"http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=15714&cat=98&platform=osx&method=sa/Swiss32Holidays.ics"
});

It makes the request fine, but the data still comes up blank.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about icalendar