Mask javascript variable value

后端 未结 6 378
天命终不由人
天命终不由人 2020-12-18 04:19

I want to mask my javascript variable value.Basically i am getting phone number fields value in variable and after getting it i want to mask it in some other format.

6条回答
  •  既然无缘
    2020-12-18 05:11

    I believe what you are looking for you can find on the apple.com support page. Try to schedule a call and check out their phone input field. It adjusts presentation based on the number of digits you are entering. Looking at the source, (seems like its somewhere here) this one has the keyup event for the field and looks like they are parsing on keyup.

提交回复
热议问题