bro.. hi im new here...btw starting with a question ...
want to knw how 2 write a javascript code to validate NIC number.... and prints a message saying OK...
i jz tried
<script type ="text/JavaScript>
function validate(){
var v = document.getElementById("nic").value;
if(v.length<11){
if(v.charAt(10)=='v')
plzz help me 2 code this... tell me if its ok up to the point..thnxx
want to knw how 2 write a javascript code to validate NIC number.... and prints a message saying OK...
i jz tried
<script type ="text/JavaScript>
function validate(){
var v = document.getElementById("nic").value;
if(v.length<11){
if(v.charAt(10)=='v')
plzz help me 2 code this... tell me if its ok up to the point..thnxx


