Hi, I'm just making a small utility with a local html file (checker.htm) with JavaScript(using jquery) on my desktop that requests data from my website every 10 mins. if it finds it then does nothing. else alerts me.
The problem i'm facing is : I can't seem to use either POST/GET from the local htm file c:\checker.htm :
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$.post("http://www.mysite.com/st/prod_json.php?products_id=15",{},function(data){alert(data);},"text");
});
</script>
I've tried using post/get and with the options : "text"/"json" -- all with the same result : Only a blank popup.
My best Guess is this a javascript permission issue.. (?)
Do you know any workaround?