forked from akeel230/ASCSS-Final
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.js
28 lines (27 loc) · 1.22 KB
/
script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
function SendMail() {
var params = {
from_name : document.getElementById("fullname").value,
BName : document.getElementById("BName").value,
email_id : document.getElementById("email_id").value,
contact : document.getElementById("contact").value,
message : document.getElementById("message").value
}
emailjs.send("service_5c6drj8", "template_2rve0yx", params).then(function (res) {
alert("Thank You! We have received your Enquiry, and will reach back to you soon! ")
})
}
function SendJob() {
var params = {
from_name : document.getElementById("fullname").value,
address : document.getElementById("Address").value,
contact : document.getElementById("contact").value,
email_id : document.getElementById("email_id").value,
visa : document.getElementById("Visa").value,
Jobtype : document.getElementById("Jobtype").value,
message : document.getElementById("message").value,
injury : document.getElementById("injury").value
}
emailjs.send("service_5c6drj8", "template_tkbwb6k", params).then(function (res) {
alert("Thank You! We have received your Job Application, and will reach back to you soon!")
})
}