on

英[ɒn]   美[ɑ:n]  

prep. (indicating direction) to; (indicating object) to; (indicating position) on...; (indicating time) at the time of...

adv. (put, wear, connect) on; forward, (continue) go on

adj. active situation, state ;used; happening; planned

blur

英[blɜ:(r)] 美[blɚ]

n .smear, stain; vague thing; ambiguous

vt.& vi. smudge, stain; (make) blurry, (make) difficult to distinguish

Third person singular: blurs Plural: blurs Present participle: blurring Past tense: blurred Past participle: blurred

javascript onblur attribute syntax

Function: Occurs when the object loses focus.

Syntax: onblur="SomeJavaScriptCode"

Parameters: SomeJavaScriptCode Required. Specifies the JavaScript to be executed when this event occurs.​

javascript onblur attribute example

<html>
<head>
<script type="text/javascript">
function upperCase()
{
var x=document.getElementById("fname").value
document.getElementById("fname").value=x.toUpperCase()
}
</script>
</head>

<body>

输入您的姓名:
<input type="text" id="fname" onblur="upperCase()" />

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance