I want to call a .php file and pass three arguments so that the .php files GETS from the query string. I am new to JQuery. Can someone illustrate how to call the .php file using JQuery?
+2
A:
Check the jQuery documentation. They provide a few examples that should get you started. The example you're most interested in looks something like this:
$.get("myphpfile.php",
{ param1: "John", param2: "2pm", param3: "Wed" },
function(data){
alert("Data Loaded: " + data);
}
);
Cory Larson
2010-01-18 12:42:56
The data is an array?
RPK
2010-01-18 12:52:10
Cory Larson
2010-01-18 15:38:56