this should work:
a href=javascript:void openWidgetWindow()
- Original Message -
From: John M. Corro [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 9:31 AM
Subject: Non-Struts Related JS Question
Does anyone know how to call a javascript function from an html
Make the href anything you want (# will work), but in the onclick handler,
do this:
onclick=openWidgetWindow();return false
the return false statement keeps the browser from following the link.
for a ridiculously complete discussion of the topic, including handling
non-javascript enabled
John...
You should be able to use something like this:
a href=javascript:openWidgetWindow() target=_selfClick here to see a
listing of Widgets/a
I think this will work. This will make the pointing finger when you do the
roll over and will link back to the calling frame since the target is
This one worked beautifully! Thanks for the help!
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 8:55 AM
Subject: RE: Non-Struts Related JS Question
Make the href anything you want (# will work), but in the onclick
handler,
do
Use CCS - only works in standards-compliant browsers to my knowledge:
a {
cursor: pointer;
}
--- John M. Corro [EMAIL PROTECTED] wrote:
Does anyone know how to call a javascript function from an html link w/o
causing the parent page to reload, but still having the cursor change to a
5 matches
Mail list logo