jQuery validate bug with required validation on IE10 in compatibility mode to IE7/IE8

后端 未结 2 865
日久生厌
日久生厌 2020-12-22 06:49

there is a Confirmed bug in IE10 compatibility mode that won\'t be fixed for IE10:

In IE10 in compatibility to IE8
$element.get(0).getAttribute(

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-22 07:36

    I changed mine to call

    $element.get(0).hasAttribute("required")

    before checking the value with getAttribute()

提交回复
热议问题