Answers for "file validation using jquery"

0

Email validation using javascript

function checkEmail() {

    var email = document.getElementById('txtEmail');
    var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;

    if (!filter.test(email.value)) {
    alert('Please provide a valid email address');
    email.focus;
    return false;
 }
}

- Call the function on Email textbox
Posted by: Guest on May-07-2020
1

dropdown validation using jquery

BY LOVE
if($('#ddlState option:selected').val() == "")
Posted by: Guest on May-14-2020
0

how to validate the textbox using jquery

BY LOVE
if ($('#txtName').val() == "")
Posted by: Guest on May-14-2020

Code answers related to "file validation using jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language