<%
        String str = "javascript:doSummlkjsdf(" + myVar + ");
%>

<html:link href="<%=str%>" ...... />

-----Original Message-----
From: Alex Colic [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 8:30 PM
To: [EMAIL PROTECTED]
Subject: Question about html:link


Hi,

how can I pass a javascript function to a link tag?

My present tag is
<a href="javascript:doSummarry(A_NUMBER)">

The value of A_NUMBER is found in a bean via workrequest.number.

Thanks for the help.

Alex



=====
Regards

Alex Colic, HBA, B. Ed
PopWare Inc. "Driving down the cost of conversions!"
E-Mail: [EMAIL PROTECTED]
Tel: 1-905-777-8171 ext. 104
Fax: 1-905-777-0132

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

Reply via email to