|
<A ...>onClick = "script command(s)"onClick
| this code | produces this |
<A HREF="mypage.oc.html" onClick="alert('Heading Home!')">My Page</A>
|
My Page |
One of the more useful uses of onClick
| this code | produces this |
<A
HREF="mypage.popup.html"
onClick="return openWindow(this,'mypage')"
>My Page</A>
|
My Page |
If onClick
| this code | produces this |
<A
HREF="deleted.oc.html"
onCLick="return confirm('Are you SURE you want to delete this record?')"
>Delete It!</A>
|
Delete It! |
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.