I have a script that is working well to detect if the client has acrobat reader is installed or not. I can print out next to the PDF link if the user has or hasn't got the reader. My problem is that i want to call that function and print something out only if the user clicks on the link to see the PDF file. This is where i'm at at the mo
echo "<br>Price: Euro ";
echo $price."<br />";
echo "<a href = \"pdf/$pdf\">";
<script type="text/javascript" src="plugins.js">
echo "See Pdf</a></td>\n";