First include jQuery Lib. In your Page…
#iban1,#iban2 are the input text field on which we add this validation
jQuery('#iban1,#iban2').keyup(function(){ jQuery(this).val(jQuery(this).val().replace(/[^0-9\.]/g,'')); });
Updated 29 February 2024
First include jQuery Lib. In your Page…
#iban1,#iban2 are the input text field on which we add this validation
jQuery('#iban1,#iban2').keyup(function(){ jQuery(this).val(jQuery(this).val().replace(/[^0-9\.]/g,'')); });
Be the first to comment.