jquery masked input plugin to not clear field when errored

后端 未结 7 879
难免孤独
难免孤独 2020-12-29 20:28

I\'m looking at the http://digitalbush.com/projects/masked-input-plugin/

I\'m calling it like this:

$(control).mask(\'999-999-9999\');
7条回答
  •  南方客
    南方客 (楼主)
    2020-12-29 21:02

    Try update file jquery.maskedinput.js

    In function function checkVal(allow) set parameter allow on true. Its help for me.

     function checkVal(allow) {
                        allow = true; ///add this command
    //..............
    }
    

提交回复
热议问题