Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


Write down the query to validate Pan Number
Question Posted on 19 Apr 2016

Home >> WEB >> JQuery >> Write down the query to validate Pan Number




Below query is the Jquery which help us to validate the pan number wheather it is correct or not



$(document).ready(function{
function ValidatePAN()
{
var panno=$("#txtPan").val();
var regpanno = /^([a-zA-Z]){5}([0-9]){4}([a-zA-Z]){1}?$/;

if(regpanno.test(panno) == false)
{
$("#errormsg").val('pan number is incorrect');
}
else
{
$("#errormsg").val('pan number is correct');
}
}
});
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Difference between body.onload and document.ready in jQuery
Different method which provides effects in JQuery
Three types of selector in JQuery
Example of JQuery focus event on textbox
What is significance of jQuery.NoConflict






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |