Hi, this is not the best place to ask js questions, but my guess is
1. The window.location accepts only full urls? (Or atleast the context start /, window.location="/items") 2. Your method never gets called or the execution is halted in saveupdates() (Which should have ; at the end of the line, like after "items"; also..) - Ville Angelo Chen wrote: > > Hi, > How to redirect to another page in a javascript? example: > > function do_proc() { > saveupdates() > window.location="items" > } > > this does not work, any idea? Thanks, > -- View this message in context: http://www.nabble.com/t5%3A-redirect-to-a-page-in-javascript--tp25853995p25939222.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org