|
Posted by mouac01 on 10/12/65 11:39
Thanks for the reply, Dave. I think I tried that before and it didn't
work. I'll try it again. However, what if I have multiple submit
buttons. The javascript above validates when the Login button is
clicked. What if I have a Quit button as well that calls a different
javascript function. I don't see how the onsubmit event can
distinquish between two different functions when each button is
clicked. That's why I used the onclick event so I can assign a
javascript function to each button. I assume PHP doesn't care which
event I use to call the javascript functions since PHP is server side?
But just so long as the form is submitted. Thanks.... Chong
Navigation:
[Reply to this message]
|