Help - Search - Members - Calendar
Full Version: ⛔★ Send and email when a page loads a certain div or text on page?
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Samm
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
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
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.
Invision Power Board © 2001-2024 Invision Power Services, Inc.