Hi,
I am using
struts 1.2
My
Jsp code contains two radio button
which changes action path which i m going to submit.
and my javascript function setValueOfRecordType() is as which i call on onclick of radio button
Now i have a <html:button onclick="submit1(this.form)">
and submit1() is as
and form tag is like this
<html:form action="navigateFinancialBusinessPlanDispatchAction.do?method=refJspForAdd" >
if i use form.submit();
my action not getting called which set in setValueOfRecordType()
action is directed to form action not my specified
if i use document.forms[0].submit();
it propery direct action but i m not getting my form bean values(hidden textbox) On my jsp.
Means i m not getting form bean values
Please help me. why this happened??