posts - 82, comments - 269, trackbacks - 0, articles - 1
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          關于jQuery插件Validation的一個Bug

          Posted on 2007-10-06 18:52 itspy 閱讀(343) 評論(0)  編輯  收藏
          不知道從哪個jQuery版本開始就存在這個問題了,反正jQuery1.2.1就與validation 1.1就存在如下bug 就是在IE下無法生成動態的錯誤信息,我找了好半天終于在其官方網頁上找到解決辦法了. 在此地址下面有如下一段話 http://bassistance.de/jquery-plugins/jquery-plugin-validation/ I found a fix for IE not showing the error labels with jQuery 1.2 on line 739 change, label = jQuery(”<” + this.settings.errorElement + “>”) to: label = jQuery(”<” + this.settings.errorElement + “/>”) The ending slash allows it to parse the element correctly. Not sure why it’s needed, but it is. If the commenting system screws up on that code change, just add a / to the end of the generated HTML element on line 739.

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 玉溪市| 衡南县| 凤庆县| 博客| 嘉峪关市| 龙里县| 永丰县| 聊城市| 万荣县| 太和县| 普格县| 伽师县| 光泽县| 汝城县| 翼城县| 安福县| 仪征市| 青冈县| 彩票| 桦南县| 棋牌| 阳东县| 奉新县| 庆安县| 澄城县| 开江县| 上饶县| 沁水县| 北流市| 宜阳县| 伽师县| 阳新县| 景宁| 临泽县| 陆丰市| 庄浪县| 鲜城| 延庆县| 乡宁县| 尤溪县| 襄樊市|