开发者

Mootools form validation fails in IE8 compatibility view

I've created a form (form website page) that works perfectly on IE8, Goo开发者_如何学Cgle Chrome, Firefox, Safari, Opera and SeaMonkey but not when I'm using the compatibilty view to emulate IE7.

When using the compatibility view to emulate IE7 the form can be sent with all fields empty which is not allowed (the fields have the class validate['required']).

Compatibility View Screenshot:

Mootools form validation fails in IE8 compatibility view

I really have no idea of how to correct this and I'm wondering if you guys have already met a similar situation and how you solved it.


I've found the solution : the problem was that I had a form inside a div element and both had the same name (and the name and id of the form were the same) which was confusing for the browser. I guess they've resolved that issue since IE8.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜