Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我得到了这个脚本:
$(document).ready(function(){ $("#feedback").load('check.php'); });
我想加载 check.php 文件。进入带有 id 反馈的 div。它不会工作。我想念什么吗?
'check.php' 必须在存储当前 php 文件的同一目录中。如果您无法更改文件的位置。更改代码中的路径,例如
$("#feedback").load('../path/to/folder/check.php');
index.php 在您的问题“localhost/firstapp/ index.php /tblUsers/create”文件夹或文件中吗?