html+;perl:用户提交表单时如何显示等待页面/弹出窗口
我有一个html表单,它调用一个perl脚本作为我在DB中保存数据的操作。 我希望在调用此脚本时显示等待屏幕。我该怎么办?/jQueryhtml+;perl:用户提交表单时如何显示等待页面/弹出窗口,html,forms,perl,Html,Forms,Perl,我有一个html表单,它调用一个perl脚本作为我在DB中保存数据的操作。 我希望在调用此脚本时显示等待屏幕。我该怎么办?/jQuery $.ajaxSetup({ beforeSend:function(){ // show image here $("#busy").show(); }, complete:function(){ // hide image here $("#busy").hide();
$.ajaxSetup({
beforeSend:function(){
// show image here
$("#busy").show();
},
complete:function(){
// hide image here
$("#busy").hide();
}
});
你在用什么?使用Apache的老式CGI?是的,在我的html中有一个类似于“”的表单,在脚本insert_user.pl中,我实际上将数据保存在数据库中,并将用户重定向到另一个页面