This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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