Return to Snippet

Revision: 3550
at August 11, 2007 04:56 by Butterflyland


Initial Code
if ( posText.value == '' || whiteSpace.test(posText.value) ) {
		alert("You're trying to send an Empty Email. Please type something and then get on your way.");
	}
	else if ( posEmail.value == '' && strCC.checked == true ) {
		alert("Why are you trying to CC yourself without an email?");
		alert("Just for that...");
		alert("I\'m Clearing all the fields!");
		frmEl.reset();
		alert("There. Satisified.");
		alert("Now start over!");
		posName.focus();
	}
	else {
		sendPosEmail();
	}
}

Initial URL

                                

Initial Description

                                

Initial Title
Code I need to change

Initial Tags

                                

Initial Language
JavaScript