Hi,
I’ve been playing with PHP for a little while, but have come across something I can seem to figure out.
When someone fills out a time off request in our intranet, an email should go to both their manager and the department head. In the form, they select their manager’s name. In the code, that looks something like this:
Deb PetersonDown below, we set out who should receive notification, but right now it’s only going to the department head. That looks like this:
else if (document.getElementById(‘Request_Type’).value == “OtherRequest”){
document.getElementById(‘recipient’).value=document.getElementById(‘Manager_Email’).value=‘[email protected]’;
}
I’m almost positive that the = needs to be replaced for the email to go two places. I just can’t seem to guess what should be there instead.
Thanks!