Set the form field before you do the submit!

document."your form"."your field".value = "something";
document."your form".submit();

I hope this will work

Regards,
        Joao

-----Original Message-----
From: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]]
Sent: terēa-feira, 11 de Fevereiro de 2003 12:36
To: Struts User Mailing List (E-Mail)
Subject: setting a request parameter in JavaScript



Does somebody know how it is possible, to define a request parameter, while
submitting a form via the JavaScript command "submit()" ???

I'm doing a "submit()" in a event handler of a html:select box and have to
set also a request parameter.

Regards,
Bernhard


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


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

Reply via email to