ajax({ url: 如何呼叫 php function test();

想请问, 原本是呼叫 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);}


关于作者: 网站小编

码农网专注IT技术教程资源分享平台,学习资源下载网站,58码农网包含计算机技术、网站程序源码下载、编程技术论坛、互联网资源下载等产品服务,提供原创、优质、完整内容的专业码农交流分享平台。

热门文章