Tip – Serving .json File on Windows (IIS, IIS Express)

So what is wrong with the simple getJSON call? Why doesn't it work?<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript">   $(document).ready(function(){     $.getJSON('data.json',function(result){       alert("success");     });   }); It works fine in Firefox 11 but not in IE and Chrome. By default, IIS6 does not serve .json (no wildcard MIME type). So... Continue Reading →

Single Page Apps – Loading JSON Using Sammy

Single Page Applications (SPA) are web sites/applications which are consists of single page and provide smooth user experience in contrast with traditional click and refresh web pages. You can integrate data loading along with routing to provide your users with a site or app that “pops”. No waiting, because the data has already been loaded.... Continue Reading →

Powered by WordPress.com.

Up ↑