Attribute for <A ...>
onClick = "script command(s)"
<A ...>Looking for Information on Popup Windows?
You might want to check out our Popup Windows.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.
