I am really new to javascript, and stumbled upon the return
keyword. Basically, what is the difference in terms of these 2 statements?
<input type=checkbox onclick=doAlert() />
vs
<input type=checkbox onclick=return doAlert(); />
Essentially, both returned the same results and called the function, but is there more to it? Any help greatly appreciated :). Thanks!