<script>
function out() {
alert('focus out!');
}
function on() {
alert('focus on!');
}
</script>
<INPUT TYPE="text" NAME="asd" onfocus="on()" onblur="out()">
function out() {
alert('focus out!');
}
function on() {
alert('focus on!');
}
</script>
<INPUT TYPE="text" NAME="asd" onfocus="on()" onblur="out()">