Ok let me see
2006/9/8, David Durham <ddurham@vailsys.com>:
>
> Daniel Chacón Sánchez wrote:
> > thanks Frank and Juan Pablo,
> >
> > Ok let me explain better (by the way, sorry for my english...)
> >
> >
> > Yes Juan Pablo i have this javascript:
> >
> > function *cambiarAction*(formulario, action){
> > formulario.action = action;
> > formulario.submit();
> > return false;
> > }
> >
> > But not i don´t call it on a <input type="*submit*"
> > onclick="cambiarAction(blablabla.....",
> >
> > Instead of that, I call it on a link:
> >
> > <a href="#" onclick="*cambiarAction*(PersonaForm,'
> > mostrarActualizarFotografia.do....
>
> Try:
>
> function cambiarAction(...) {
> ...
> return false;
> }
>
> <a href="#" onclick="return cambiarAction(...)">..</a>
>
> -Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
|