Posted on: 12/4/2013 5:34:39 AM | Views : 747

is this correct code in javascript, pls help me in some way....
 
function IsValidDate(Mn, Yr)     {     var uid;     var temp = document.getElementById("<%=txtdate.ClientID %>");     uid = temp.value;     var date = uid.subString(0, 2) + "/" + uid.subString(2, 4);     alert(dt);     if (uid == "")     {         return ("Please Enter Date");     }     else     {         return ("Invalid date" + "\n");     }

Go to the complete details ...