Can you fake a onClick?
| From: | Douglas Harter | Date: | Fri, 28 Dec 2001 01:48:56 +0000 |
| Subject: | Can you fake a onClick? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-78895@lists.php.net to get a copy of this message | ||
I have checked the archives and not really found an answer, so here goes.
My form contains a function called CountIt which increments a counter file on the site. I mainly use
it to count the hits on the page. I also have multiple <a> links to .zip & .txt files
which can be accessed or downloaded. Is it possible somehow to fake an onclick event so that when
the user clicks on the link I can use the CountIt function to increment a counter for that link?