why isn’t this working:
function validate_date_alert() {
alert (myAlert);
if (myAlert="yes") {
alert("Invalid format. Please format using MM/DD/YYYY.");
return false;
} else if (myAlert="no") {
return true;
}
}
The variable are passing by the state always returns as false. What gives???