for (j = 0; j <= 30; j++) { var id = "txt" + j var id1 = "txt" + (j + 1) var txtbox = document.getElementById(id); var txtbox1 = document.getElementById(id1); if (txtbox.Value == txtbox1.Value) { alert("Enter unique serial number"); return false }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)