如何在提交后返回时更改注册表单中的时间.
$("#leaveComment").find("input#time").val("<? echo time(); ?>");
插入数据库后(插入数据库配置并在文件资源/ lib/add-comment.php中工作)?
这里是需要jquery的完整代码
而这里是提交(附加comment.php文件的内容)的PHP脚本
html php jquery refresh
html ×1
jquery ×1
php ×1
refresh ×1