Please read
this article to understand why what you are asking is impossible.
You will need to submit to the server, or use Ajax or an Ajax library.
And pay heed to Amit's messages.
Before you post again.
[ December 05, 2008: Message edited by: Bear Bibeault ]