Showing posts with label jquery masking. Show all posts
Showing posts with label jquery masking. Show all posts

Wednesday, 11 November 2020

Add Jquery masking

 $(document).ready(function() {

    if($('INPUT').length>0){

        $('INPUT').mask('SSSS-SSSS-SSSS', {'translation': {S: {pattern: /[A-Za-z0-9]/}}}); // Here you need to change customize the pattern

    }

});


Feet/Inches to Meters Converter & Lbs to Kgs Converter

 <!DOCTYPE html> <html lang="en"> <head>   <meta charset="UTF-8" />   <title>Feet/Inches ⇄...