Samm
Apr 25 2018, 08:40 PM
I'm trying to make a page send me an email when this DIV below become 100% Complete. So when I'm not home it alerts me the process has finished. Is this even possible?
<div class="progress" title="Printing Progress">
<div class="progress-bar active" id="pgs" role="progressbar" style="width: 59%;">59% Complete</div>
</div>
Christian J
Apr 26 2018, 06:22 AM
You need a server-side script (like PHP) to send email, but I'm not sure what you mean with DIV becoming 100% complete?
CharlesEF
Apr 26 2018, 01:39 PM
Seems you want to send the email when a print job is done? Is that correct? How is the job printed? I'm not sure you can do that with HTML and Javasript (for filling the progress bar). Maybe you can use the 'onafterprint' event to make an AJAX call to the server to send the email.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.