I want to grab the return Gameresult value in php which came with the Jquery id call
The html tag
<p id="gameresult">
</p>
i want to grab the value into php which will be appended here
the Jquerypart :
this.enter = function() {
var obj = g;
g.platform.soundManager.gameover.play();
var result = $('<ul><li>You type '+g.score.score+' characters in '+g.time.time+' seconds.</li><li><u>Your speed</u> : about ' + Math.floor( (Math.ceil(g.score.score / 5) / g.time.time) * 60) +' words per minutes!</li></ul>');
g.platform.stopAnim();
this.hideMenu();
$('#gameresult').append(result);
this.showState(this.screen);
below is the link:
just play the game at the top left corner for demo..