hi,
i have tried like this ... but i am not able to continue with this code... any bady hav idea on this???
i have tried like this ... but i am not able to continue with this code... any bady hav idea on this???
Code:
<html>
<head>
<script language="JavaScript">
function checkme(strVal){
var id=strVal;
[B]---------->[/B] [B]document.forms[0].+id+.focus();[/B]
}
</script>
</head>
<body>
<form>
NAME..<input type="text" name="empName" size="5" maxlength="4" onChange="checkme(this.value)"/><br>
ID....<input type="text" name="id" value=""/><br>
DEPT..<input type="text" name="dept" value=""/><br>
</form>
</body>
</html>
Comment