OnClick help
Posted: Mon Mar 08, 2010 9:03 am
I want to add a page re-direct to 'calllist.php' on the following onclick:
Any ideas how?
Code: Select all
onclick="window.onbeforeunload=null;if(document.forms[0].desc.value=='' || document.forms[0].user.value==''){alert('Missing valid fields (Subject, Details or User)');return false;} else {document.forms[0].submit();return false;}"