how to redirect to two diffrerent page when base action done with js/jquery
im trying redirect to two different page the my base page . But , when
base action comleted . Sample blabla.jsp;
... ...
in js code; ... if(..){ $("#x").attr("action","b.jsp");
$("#x").attr("method","post"); } else{ $("#x").attr("action","c.jsp");`
$("#x").attr("method","post"); } ...
But ,pressing the submit button , first direct a.jsp , after redirect
b.jsp or c.jsp i cant redirect to b.jsp or c.jsp from a.jsp . This is
impossible. Dont ask me why :( .
tHANK YOU EVERYBODY
No comments:
Post a Comment