In the first file:
$.get("func.php", {
func: "drop_1",
// ...
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
$.get() internally calls $.ajax() with type GET.
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
One line lower than the other two...
$.get("func.php", {
func: "drop_1",
drop_var: $('#drop_1').val()
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875