Re: How can we send parameter's value to javascript function ??

2005-05-24 Thread Steve Bosman
On 5/21/05, Saul Qunming Yuan <[EMAIL PROTECTED]> wrote: > Try build the whole javascript function part in scriplet as follows: > > onclick="<%='javascript:whichAuctionType(' + rId + ');'%>"> > > in your I think you mean onclick='<%="javascript:whichAuctionType(" + rId + ");"%>'> in my experien

Re: How can we send parameter's value to javascript function ??

2005-05-23 Thread Rick Reumann
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 , You should use the html-el tags (if not using JSP2.0 container, otherwise the standard html tags will support this)... (You won't need to cast to

RE: How can we send parameter's value to javascript function ??

2005-05-23 Thread Greg Pelly
You can't mix <%= %> and struts form elements (eg, ). Your best bet is to change the javascript to "whichAuctionType(this)"--send the input element--then inside your JS function, get the value by doing a .value on the element passed in. -Original Message- From: minhnguyet [mailto:[EMAI

Re: How can we send parameter's value to javascript function ??

2005-05-21 Thread Saul Qunming Yuan
Try build the whole javascript function part in scriplet as follows: onclick="<%='javascript:whichAuctionType(' + rId + ');'%>"> in your Hope that helps. Saul - Original Message - From: "minhnguyet" <[EMAIL PROTECTED]> To: Sent: Friday, May 20, 2005 10:47 PM Subject: How can w