Hello as state I am trying to use jquery to run some php without refreshing the page, however I am new to jquery and am having trouble getting it to work, can some one please take a look.
<div id="GameBox">
<a onclick="setscore(1);">Start</a>
</div>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js">
function setscore(id) {
$('#GameBox').load('PHPsavemove.php?questionsCor=' + id);
}
</script>
Right now I am getting the error that it does not see my function set score. I quote "ReferenceError: Can't find variable: setscore"
Please help