2
Good morning, I would like to embed a pdf document on my website for a PHP registration form, in which after pulling the scroll to the end of the pdf, the commit button is activated. Here’s the code, I’m using jquery to find the scrool state, but I’m not getting it.
echo '<embed src="ficha.pdf" width="600" height="200" type="application/pdf" class="pdfrender">';
//jquery
$(".pdfrender").on("scroll", function(){ alert("OK"); });
What happens? Does it give an error? If so, which one? It just doesn’t work? It works, but it doesn’t generate the expected result? What result did it get? What was expected?
– Woss
it does not return the Alert when moving the scroll.
– Sergio Teixeira