我有两个问题,我对它们有问题,我真的不知道从哪里开始寻找以及如何处理它们 我想它们是相关的: 第一个是jquery问题... 当我在计算机上加载页面(本地)时,所有显示的都正确:
i have two issues that i have problem with them and i dont really know where to start looking and how to handle them i guess that they are related: first one is jquery issue... when i load the page on my computer (local) all appear right:
if($('.error',$formId).length) { return false; } else{ $('#btn-submit').fadeOut(200, function() { $('#btn-submit').attr("src","images/Site_Images/checkMark.jpg"); $('#btn-submit').fadeIn(200); $('#btn-submit').removeAttr('onmouseover').removeAttr('onmouseout'); }); // $formId.trigger('submit'); }出现复选标记图像. 当我在wamp服务器中加载我的网站并从->中删除评论时//$ formId.trigger(''submit''); 因此该表单将提交,然后发生两个问题: (如果我保留提交行注释,则图像显示正确) 它必须是带有Submit表单的东西. 首先是没有出现的复选标记,而是出现了矩形边框. 并且 second 是提交之后.所有表格都消失了. 任何帮助将不胜感激.. 在高级中表示感谢.
the check mark image appear. when i load my site in wamp server and remove the comments from--> // $formId.trigger(''submit''); so the form will submit then the 2 issues occur : ( if i leave the submit line comment out then the image appear right ) it has to be something with the form submit. first is the check mark that doesnt appear, instead a rectangle border appear . and second is after submit. all the form disappear. any help would be appreciate .. Thanks in advanced.
推荐答案(' .error' ,
formId).length){ 返回 假; } 其他 { formId).length) { return false; } else{
(' #btn-submit').fadeOut( 200 , function (){ ('#btn-submit').fadeOut(200, function() {
更多推荐
表单提交和jQuery的服务器问题
发布评论