• I was trying to set the pattern as below,
    $(‘#phone_0_4’).attr(‘pattern’,'[789][0-9]{9}’);
    but its not working, my client does not want the user to enter the phone number that does not start with 7,8 or with 9

  • The topic ‘Unable to set the pattern attribute’ is closed to new replies.