X
Xerxes
Hi,
I get the "Invalid return" error (in Javascript console) when I run
this piece of code:
<a href="javascript:if (document.dc_form.tn.value == ''' &&
document.dc_form.cid.value == '') { alert('You have not made a
selection. Please select one of the fields first.');return false; }
document.dc_form.submit();">Go!</a>
If I remove the "return false;", it displayes the alert and continues
to what it is NOT supposed to do.
TIA.
I get the "Invalid return" error (in Javascript console) when I run
this piece of code:
<a href="javascript:if (document.dc_form.tn.value == ''' &&
document.dc_form.cid.value == '') { alert('You have not made a
selection. Please select one of the fields first.');return false; }
document.dc_form.submit();">Go!</a>
If I remove the "return false;", it displayes the alert and continues
to what it is NOT supposed to do.
TIA.