Ok guys I know this question has been asked before but I am very new to PHP and JavaScript and hadn\'t even heard of ajax until i started looking for an answer to this question
$.get("test.php", { name: "John", time: "2pm" }, function(data) { alert("Data Loaded: " + data); });
http://api.jquery.com/jQuery.get/