View Single Post
Old 07-11-2008, 10:26 AM   #4 (permalink)
netsnake
The Wanderer
 
Join Date: Jul 2008
Location: Germany
Posts: 20
Thanks: 0
netsnake is on a distinguished road
Default

I know...! But by clicking the button, I call a function. Why don't you call the same function using onsubmit in the form-tag?

<form action='#' onSubmit='functionx(); return false;'>
...
</form>

Just like that!

See Xooria.com, the login and join-form also call functions, and I have done it like this, so my visitors can hit enter to log in.
__________________
Heaven for searching -> Xooria.com
Note: Please don't blame me for my English... 4 Years of it at school don't make it perfect! But feel free correct me!
Send a message via Skype™ to netsnake
netsnake is offline  
Reply With Quote