Mask javascript variable value

后端 未结 6 386
天命终不由人
天命终不由人 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:21

    Using jsuites plugin you can do that

    A) HTML

    
    
    
    
    
    
    
    

    B) JAVASCRIPT

    To get the parse a string into a variable

    
    

    Source: https://bossanova.uk/jsuites/javascript-mask

提交回复
热议问题