diff --git a/js/main.js b/js/main.js index e0fc11e..a524877 100755 --- a/js/main.js +++ b/js/main.js @@ -400,50 +400,3 @@ function doCheck() { beginTest(); // Yes, we should -- consider it done! } } - - -(htmlWidth = $("html").width(); -$.ajax({ - type: "POST", - url: "mobileView.php", - data:{ width: htmlWidth, somevar : "yes" }, - success: function(data){ - console.log(data); - } -})); - -(function sendWPM($) { - var person = prompt('Please enter your name', ''); - $.ajax({ - type: 'POST', - url: './backend.php2', - data: { wpm: $("select[wpm='players']").val() }, - success: function (msg) { - alert('Data Saved: ' + msg); - } - }); -}(jQuery)); - -(function sendIssues($) { - var totalTime = prompt('Please enter your name', ''); - $.ajax({ - type: 'POST', - url: './backend.php2', - data: { issues: $("select[issues='players']").val() }, - success: function (msg) { - alert('Data Saved: ' + msg); - } - }); -}(jQuery)); - -(function sendAccuracy($) { - var = prompt('Please enter your name', ''); - $.ajax({ - type: 'POST', - url: './backend.php2', - data: { accuracy: $("select[accuracy='players']").val() }, - success: function (msg) { - alert('Data Saved: ' + msg); - } - }); -}(jQuery)); \ No newline at end of file