<html> <head> <title> test </title> </head> <body> <script src="http://code.jquery.com/jquery-latest.min.js"></script> <script type="text/javascript"> var timeAtEnd = 1; function submitHS () { alert("ha"); $.ajax({ $.alert("buahah"); type: "GET", url: "mathMemory/submitHS.php", data: {timeAtEnd = "timeAtEnd"} success: function() { echo "success"; }; }); } window.onload = submitHS(); </script> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)