RE:[OT] javascript function call with parameter

2003-03-17 Thread Jarnot Voytek Contr AU HQ/SC
Why not just do: no scriptlet required... -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. > -Original Message- > From: Yannick Lesage [mailto:[EMAIL PROTECTED] > Sent: Monday, March 17, 2003 7:45 AM > To: Struts-User > Subject: javascript function call

javascript function call with parameter

2003-03-17 Thread Yannick Lesage
Hi, I'm trying in a JSP page to move items between 2 lists. This is done via a javascript method that call my action: function rightMove(nbForm){ document.forms[nbForm].elements['sense'].value="right"; document.forms[nbForm].submit(); } This function is called on the "ondblclick"