How apply masking on label using jquery? -


i have requirement show ssn(social security number) value in label when showing in label not applying masking.i have used following line of code mask value in lable. $("#test").mask("00-00-0000"); in case of textbox working fine.so please let me know how can implement it.

jquery mask plugin can mask on label:

jsfiddle:

<label id="ssn">999990000</label>  $(function() {     $("#ssn").mask("00-00-0000");  }); 

Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -