Hi ppl,
I need a javascript that can do..
"When you leave a page to alert you how many times have you clicked".
I have no ideas, and almost no exp in this.. So PLEACE help me..
Sorry for the bad english..

var clickCount = 0;
document.onclick = function() {clickCount++};

doucment.onunload = function(){alert("No. of clicks = " + clickCount);};
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.