78858/how-to-validate-an-email-address-in-javascript
Hello @kartik,
To validate email use the below code:
email = $('email'); filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; if (filter.test(email.value)) { // Yay! valid return true; }
Hope it helps!! Thank you!!
Hello @kartik, You can use Object.keys() and map() to do this var obj ...READ MORE
Hello @kartik, Page_ClientValidate() will work. It returns true if ...READ MORE
Hii, This works in all browsers: window.location.href = '...'; If ...READ MORE
Hii @kartik, You have to do three thigs: You ...READ MORE
Hey @kartik, First you have to go to ...READ MORE
Named route is used to give specific ...READ MORE
Hello, This is simple you just need to ...READ MORE
Hey @kartik, Named routing is another amazing feature of ...READ MORE
Hello @kartik, For reading the external Local JSON ...READ MORE
Hello @kartik, Use: const args = ['p0', 'p1', 'p2']; call_me.apply(this, ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.