Results 1 to 4 of 4

Thread: Validate Input

Hybrid View

  1. #1
    Member
    Join Date
    Jul 2019
    Location
    Ahmedabad
    Posts
    56

    Re: Validate Input

    Code:
       var pattern= new RegExp("pattern");
       if(($(#id).val()) && $(#id).val().match(pattern)){
        alert("True");
       }
    Last edited by Sherin; Oct 24th, 2019 at 01:55 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width