This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes xml htttp request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "xml htttp request" Watch "xml htttp request" New topic

xml htttp request


Joined: Jun 17, 2005
Posts: 1

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:



Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
"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.

Eric Pascarello
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
You most liekly need to return false with the onclick:

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

GeeCON Prague 2014
subject: xml htttp request