minhnguyet wrote the following on 5/20/2005 11:47 PM:
Hi all,

I want to send  parameter 's value  to  javascript function  .  When
I use  <html : radio as  follow

<html:radio property="auctionTypeId" value="<%=(String)rId%>"
onclick='javascript:whichAuctionType(<%=(String)rId%>);'/>   ,

You should use the html-el tags (if not using JSP2.0 container, otherwise the standard html tags will support this)...

<html-el:radio property='auctionTypeId'
onclick='whichAuctionType(${rId})' value='${rId}'/>

(You won't need to cast to String by the way)

--
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to