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 ; in use; happening; planned

abort

UK[əˈbɔ:t] US[əˈbɔ:rt]

vt .Cause a miscarriage; cause premature death; cause abort

vi.Miscarriage;abortion;underdevelopment

n.Abort;terminate plan

Third person singular: aborts Present participle: aborting Past tense: aborted Past participle: aborted

javascript onabort attribute syntax

Function: The event occurs when image loading is interrupted. This handler is called when the user aborts loading of the image (such as clicking the stop button) before the image has finished loading.

Syntax: onabort="SomeJavaScriptCode"

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

javascript onabort attribute example

<html>
<head>
<script type="text/javascript">
function abortImage()
{
alert('Error: Loading of the image was aborted')
}
</script>
</head>

<body>
<img src="http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg" onabort="abortImage()" />
</body>

</html>

Run instance »

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