SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jun 2007
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    call javascript function from pdf link

    Hello
    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">
    </script>
    <?php
    echo "See Pdf</a></td>\n";

    ?>
    </tr>

  2. #2
    SitePoint Enthusiast cheap freelancer's Avatar
    Join Date
    Jun 2007
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    use onClick function


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •