onclick = '<%="return confirmationMessage(" + jsMessage + ")" %>'
Did not work.
Chetan
-----Original Message-----
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
Sent: Friday, September 08, 2006 2:18 PM
To: Struts Users Mailing List
Subject: Re: Setting a Variable in Javascript Functions parameter
>
> <html:link action="/delete" onclick =
'<%="returnconfirmationMessage(jsMessage)" %>'
>
Ok , I think I made a mistake here. This should actually be
<html:link action="/delete" onclick = '<%="return confirmationMessage(" +
jsMessage + ")" %>'
Did you try it this way?
--
Puneet
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]