Hi, I have a select box with several entries (with values). An onCange - event should post the the value of the selected entrie. I'm trying to do this in as much javascrit as possible.
Here my code so far: <!-- This should post the value of the selected entrie to the "interactive" xsp-page, but I don't know if this is the right approach <form name="reportFrm" method="post" action="interactive"> <select name="report_id" onchange="document.reportFrm.submit();"> <option value="XXX">XXX</option> <!-- This should get the passed parameters (the value of the selected entrie) function passedParameter() { <xsp:logic> String value = <xsp-request:get-parameter name="report_id" ???????????? />; </xsp:logic> ... Thanks Jonny ---------------------------------------------------------------------------------------------------- This electronic message contains information from the mmo2 plc Group which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone or email (to the numbers or address above) immediately. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>