![]() |
Looking for a JavaScript code for counting clicks
What I want is a javascript I could add to links, where if they click on a link it adds 1 point to userfieldX. The catch is that they could only get the point once per day (Not necessarly 24 hours, but if that's how it would have to work, so be it). So they could only click the link once a day.
Could someone here create that and if so would it be hard to create? :erm: :D |
Ok, is it possible?
|
Java is not JavaScript.
|
Thanks. I should have known that.
|
Quote:
|
Thanks, now I'm off to google how I might accomplish that.
|
For that, you should add an onclick event to your link.
Your tag shall look like that : Code:
<a href="your_url" onclick="my_js_function();">URL_TEXT</a> |
Thanks vbdev.
|
All times are GMT. The time now is 08:27 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|