if check_then_submit() function is returning a boolean already, then are there any differences between these 2 pieces of code? should I also additionally add an return true; code afterwards?
Chris Baron
Ranch Hand
Joined: Mar 21, 2003
Posts: 1028
posted
0
Hallo Rüstem-e, try out
for me, its only working with return in onSubmit="return checkNsubmit()" ot: u == D?
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15003
posted
0
I would use the return in the onsubmit line. Some browsers will work with out it. Better practice by using it.
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
merci beaucoup. oth Chris and Eric... i mean, it is basic. but not written explicitly so common. thus takes time to try and debug. by the way which javascript debugger would you advice? i am also using mozilla and opera 7 in addition to IE 6... so it makes some sort of a pain some time