Code:
<script language="javascript">
function xyz(){
alert("The key is up");
}
function xyz1(){
alert("The key is down");
}
function xyz2(){
alert("Yor are changing the size of window");
}
</script>
<body onResize="xyz2()">
<form name="frm">
<input type="text" name="x" onkeyup="xyz()" />
<input type="text" name="y" onkeydown="xyz1()" />
<input type="button" value="Button" />
</form>
</body>
<script language="javascript">
function xyz(){
alert("The key is up");
}
function xyz1(){
alert("The key is down");
}
function xyz2(){
alert("Yor are changing the size of window");
}
</script>
<body onResize="xyz2()">
<form name="frm">
<input type="text" name="x" onkeyup="xyz()" />
<input type="text" name="y" onkeydown="xyz1()" />
<input type="button" value="Button" />
</form>
</body>
Comments
Post a Comment