> > My Javascript function is given below: > > > > ################ > > > > <SCRIPT language="JavaScript"> > > function submitForm(form) > > { > > form.action.value="Lookup"; > > form.submit(); > > return true; > > } > > ################# > > > > and I invoke this function in my HTML form as shown below: > > > > ######################### > > <html:select property="crn" onclick="submitForm(this.form)"> > > <html:option value="Test" selected>Test</html:option> > > </html:select> > > ########################### > > > > But, the value of the property "action" is not set to "Lookup". > > > > Any help would be greatly appreciated.
probably an obvious question, but are you sure you have a hidden form field called "action" on this page so that your javascript function can set it? -- Rick --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]