AJAX calls does not work with local documents, I'll let you guess why (hint : what if I decided to read what's in your local files using my webpage, then send it to a database of mine so I can log into your favorite forum, online game, internet order site, webmail, etc. just for the fun of it... or not).
Michel Belleville 2009/11/18 santosh chavan <[email protected]> > HI All > > I am trying to load XML file using following code. > $(document).ready(function() { > $.ajax({ > type: "GET", > url: "D:\Documents and > Settings\santosh.chavan\Desktop\ajaxJqueryXML > \data.xml", > dataType: "xml", > success: function(xml) { > alert(xml); > } > }); > }); > > This code is returning me object if i configured this page in IIS. > > If i load this page from local drive, its not returning me xml object. > > same code return me object in firefox on local drive. > > please guide for same. > > > >

