Skip to content

Commit

Permalink
Update cgi_test.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
arfhad-shaikh committed Jul 29, 2021
1 parent 4e16c9b commit c881b13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cgi/cgi_test.pl
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<br/><br/><br/><br/>
<p id="BMI"> </p>
<p id="BMI-result"> </p>
<div id="emaildiv"> </div>
<p id="emailbtn"> </p>
</div>
</div>
Expand Down Expand Up @@ -84,7 +85,8 @@
alert("Please Fill in everything correctly");
}
}
document.getElementByID("emailbtn").innerHTML += "<button type=\\"button\\" onclick=\\"sendEmail()\\" class=\\"signupbtn\\"> Email results to: $data{email} </button>"
document.getElementByID("emaildiv").innerHTML += "<button type=\\"button\\" onclick=\\"sendEmail()\\" class=\\"signupbtn\\"> Email results to: $data{email} </button>"
function sendEmail() {
Expand Down

0 comments on commit c881b13

Please sign in to comment.