Hi everyone,
               Yesterday I was trying something like 

        <html:form action="/saveCustomer.do">
<html:select property="creditCheckReq"
onchange='document.forms[0].submit()'>
                        <html:option value="true">Yes</html:option>
                        <html:option value="false">No</html:option>
                </html:select>

        .....
        <html:submit>
               <bean:message key="button.submit"/>
            </html:submit>
</html:form>


But this didn't worked giving JavaScript error submit is not a function


This is because corresponding HTML for submit tag generates 
<input type="submit" name="Submit" value="Submit">

This name ambiguity causes a problem as a work around ,
I have tried to define submit button myself and it works.

Is there any another way?
Rajesh





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

Reply via email to