This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xml htttp request

 
ArulJose
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to track the link clicks. I have done a sample.

When the link is clicked I am calling a php - NoteLink.php which puts an entry into my db regarding the clicked link.

it looks like a wonder. When I click once, I could not see any entry. But when I click fast continously 3 or 4 times, I could see the entries in the db.

Can you guess why this happens? :roll:

ARUL JOSE

trial.html


NoteLink.php
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ArulJose Jose
",

There aren't may rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
Eric Pascarello
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You most liekly need to return false with the onclick:

<a href="#" onclick="intimateClick('1');return false;">hello</a>

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic