Dar*_*son 5 javascript css internet-explorer drop-down-menu
这是我在这个网站上的第一个问题.我有一个Internet Explorer的问题.我的联系表单在Chrome,Safari和FF中运行良好,但在IE中则不行.这是我表单的链接.
基本上问题是下拉选择中没有文本,因此,没有人可以通过IE发送查询.有人可以帮帮我吗?
其他资料...我从幻想的联系表格: http://tutorialzine.com/2009/09/fancy-contact-form/ 还有其他较小的问题,如选择的宽度在不同的浏览器是不同的,但只有我关心上述问题.
非常感谢
在您的代码中,if 语句缺少逗号和括号...尽管编译器不需要这些,但最好始终将 if 语句括在逗号内,并始终在每行末尾添加分号。
例如
$("#contact-form").validationEngine({
inlineValidation: false,
promptPosition: "centerRight",
success : function(){use_ajax=true},
failure : function(){use_ajax=false;}
}) // missing semicolon here
Run Code Online (Sandbox Code Playgroud)
和
{
$.validationEngine.buildPrompt(".jqTransformSelectWrapper","* This field is required","error") // missing semicolon here
return false;
}
Run Code Online (Sandbox Code Playgroud)
由于您在调试器中调用了错误的参数,因此最好以正确的方式编写代码,然后我们可以尝试了解问题所在。