Possible Duplicate:
Why is cross-domain Ajax a security concern?
I'm having a huge issue with jQuery. I'm trying to get jQuery to load HTML that gets generated from a PHP page on a remote web server. But whenever I try to run this locally, nothing happens at all. However, for whatever reason, when its on my web host, it'll run just fine.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Unicode" />
<title>Decisive Shoutbox</title>
<style type="text/css">
body
{
margin: 0;
width: 288;
height: 160;
font-family: verdana;
font-size: 20px;
}
#gadgetContent
{
height: 160;
overflow: auto;
vertical-align: middle;
}
.shout
{
font-size: 8px;
}
.date
{
font-size: 6px;
font-color: #010101;
}
</style>
<link href="flexcrollstyles.css" rel="stylesheet" type="text/css" />
<script type="text/jscript" src="scripts/flexcroll.js"></script>
<script type="text/jscript" src="scripts/jquery.js"></script>
<script type="text/jscript" language="jscript">
$(document).ready(function() {
$.get("http://decisive-media.net/gameguy/gadgets/shouts.php", function(data) {
$('#gadgetContent').html(data);
//fleXenv.fleXcrollMain('gadgetContent');
alert("done");
});
});
</script>
</head>
<body>
<div id="gadgetContent">
</div>
</body>
</html>