<html:select onchange = "submit();" >
function submit()
{
populate values ..........then
document.action.value = " /url ";
document[0].forms[0].submit();
}
Ingo Villnow wrote:
>
> Hello,
>
> i want to call an action by javascript, when a value in a <html:select>
> field changes. I want to fill my <html:form> with the data provided by
> the action. Any ideas? I don't know a lot of javascript :-(
>
> thanks & greetings from Berlin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
View this message in context:
http://www.nabble.com/struts-1.2%3A-calling-an-action-by-javascript-tf4725382.html#a13723779
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]