Ajax forms not working 2007-10-01 - By Dave Newton
Back Do you have an <s:head theme="ajax"/> tag?
--- Moacir Cardoso <moacsjr@(protected)> wrote:
> Hi, > I'm unable to make my ajax form work > > <body> > > <div id='two' style="border: 1px solid > yellow;"><b>initial content</b></div> > <s:form > id="theForm2" > cssStyle="border: 1px solid green;" > > action="cadastro/pessoa_salvarEndereco.action" > method="post" > theme="ajax"> > > <input type='text' name='data' value='Struts > User'> > > <s:submit value="GO2" theme="ajax" > targets="two"/> > > </s:form> > > </body> > > > > It's making a normal http request and not using ajax > calls. > > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To unsubscribe, e-mail: > user-unsubscribe@(protected) > For additional commands, e-mail: > user-help@(protected) > >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|