On page 392 of "Javascript the definitive guide" a function is called
like this:-
<form action="process form.cgi" onsubmit="retur n validateForm(); ">
Why, in this instance, is the return statement used in calling the
function validateForm rather than being included inside the function?
Thanks in advance,
like this:-
<form action="process form.cgi" onsubmit="retur n validateForm(); ">
Why, in this instance, is the return statement used in calling the
function validateForm rather than being included inside the function?
Thanks in advance,
Comment