3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by chandru7
0

Dependent on your webserver, just count how many times a picture was sent to be displayed(read) similar goes for files.

Or you can add more information, not just one sentence.

Hi All,

I need to track the number of times a link is clicked/file downloaded
& capture this info in the database.

please advise urgently..

0

Hi All,

I need to track number of clicks on a hyperlink & save this count in a table in database.

I need to develop in javascript

Please help ASAP :-(

0

Just use one incrementer and store the value in one hiddenfield,and update in database.

for ex,

<input type=hidden id=NoOfClicks>
In Js,
var val=document.getElementById('NoOfClicks');
val.value = val.value+1;

Otherwise try ajax,if need any help for ajax check the ajax articles here

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.