Remove literals from input mask after form submit?

后端 未结 7 1101
轮回少年
轮回少年 2020-12-31 03:17

this question has already been asked but the solutions where not clear.

Im using Josh Bush\'s MaskedInput plugin for jQuery

What im trying to achieve is:

7条回答
  •  忘掉有多难
    2020-12-31 04:22

    Set removeMaskOnSubmit as true when you initialize the inputmask

        $("#txtPhone").inputmask({removeMaskOnSubmit: true});
    

提交回复
热议问题