Click here to Skip to main content
15,908,841 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i use this code:


XML
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("button").click(function(){
$('#result').load('loadtxt.txt');
});
});
</script>
</head>
<body>
<button>Click to Load Data</button>
<div id="result"></div>
</body>
</html>



but in GoogleChrome and Opera Not Act!!!
its work Only IE and FireFox!
Please Help Me

thanks so Much



------------------------
Failure Is Not An Option
Posted
Comments
Rockstar_ 11-Sep-12 1:16am    
is your OS XP or Win 7? if it is Win 7 then it is a problem with the file accessibility. Make all file accessible and then try...

1 solution

 
Share this answer
 
Comments
Seyed Ahmad Mirzaee 11-Sep-12 2:22am    
how to set --allow-file-access-from-files ???
Please Help me
thanks
Rockstar_ 11-Sep-12 3:10am    
u will find system and security in control panel, in that click on link "Change User Account Control settings", in that you will find a vertical bar, drag that to bottom and then restart your system, then check.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900