$.get( ... don't work for me
Hello.
Here is 'test.html':
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="js/jquery.js"></script>
</head>
<body>
<script>
function loadBox()
{
$.get("test.php", function(data){
alert("Data Loaded: " + data);
});
}
</script>
<form>
<input name="a" type="button" OnClick="loadbox();" />
</form></body>
and content of test.php is simple:
But it don't even work.
Function alert("Data Loaded: " + data); is never called. Can you help me pls?
I know that will be "noob problem", but I just starts with jQuery, so thank you for any kind of help.
Tom