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){...