Sample ajax call to ms time service
HTML
<script src="http://mobileka.mercularity.com/libraries/jsonp.js"></script>
JavaScript
function getTime(json){
console.log(json.servertime);
}
$(function(){
$.jsonp({
url : "http://player.multicastmedia.com/ts/?callback=getServerTime",
callback : "getServerTime",
pageCache : "true",
cache : "false",
success:function(json){
getTime(json);
},
error:function(xOptions, textStatus){
console.error(textStatus);
}
});
});