I am trying to run below given code.It is working properly in IE browser but in other browser it is not working.
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.4 /jquery.min.js'></script>
<script type="text/javascript">
$(document).ready(function(){
$("#button1").click(function(){
alert("1");
$.ajax({url:"file://///30.170.12.75/Shared/a.html"
,success:function(result) {$("#div1").html(result);}
,error: function(result) {alert("2");}
});
});
});
<script>
As i know jquery api provide us browser compatibility also but it is not working any of other browser.
Please Let me know the reason so that in future i will be taking care of them.