"Probably because you don't have an action="..." attribute in your <form...> tag yet."
Thats correct, I don`t. :)
I have changed it to return false though, because that removes the click action when the button is pressed and I like it better like that.
Whilst we are on the subject of this, how about if I want someone to confirm an action before the action is completed? Say I had "Delete" button and I wanted a box to pop us saying "Are you Sure?", how would I do that? So that yes returns true and no returns false?