想请问, 原本是呼叫 test.php 不知是否能改呼叫当下的 .php 中的 function test(),
url:"test.php" 不用打?
$.ajax({
url:"test.php",
type:'POST',
data:{ajax: 1,brand:brand},
success:function(res){$('#items').html(res);}
想请问, 原本是呼叫 test.php 不知是否能改呼叫当下的 .php 中的 function test(),
url:"test.php" 不用打?
$.ajax({
url:"test.php",
type:'POST',
data:{ajax: 1,brand:brand},
success:function(res){$('#items').html(res);}