Ok let me see

2006/9/8, David Durham <[EMAIL PROTECTED]>:

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to