function handleClick(event){ document.getElementById('hdnClickEvent').value = "StudntRgstr:IniC"; document.getElementById('student_cardInit').submit(); return true; } function killChars1(strWord) { //alert("Hai"); var st=strWord; var strWord1= document.getElementById(st); var strWords=strWord1.value; var badChars=new Array("%", "/..", "../", "=", "\\", "/*", "*/", "%1", "%2", "%3", ".htm", ".html", "--", "select", "drop", "insert", "delete", "xp_", "script", "alert","update"); // var badChars=new Array("*", "|", "@","&","$","!", "#","()", ";", "%", "/..", "../", "=", "\\", "/*", "*/", "%1", "%2", "%3", ".htm", ".html", "--", "select", "drop", "insert", "delete", "xp_", "script", "alert","update"); var newChars=null; // badChars = array("*", "|", "()", ";", "%", "/..", "../", "=", "\\", "/*", "*/", "%1", "%2", "%3", ".htm", ".html", "--", "select", "drop", "insert", "delete", "xp_", "script", "alert") newChars = strWords; var len=badChars.length; for (svr = 0;svr