File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "xml htttp request" Watch "xml htttp request" New topic
Author

xml htttp request

ArulJose
Greenhorn

Joined: Jun 17, 2005
Posts: 1
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

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

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

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

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xml htttp request
 
Similar Threads
Simple list table
Unsure how to count records that are the same on a day of a date range
jsp vs asp forms big problem
Servlet-encodeURL and Jsp-session gives different Session ID!
Dynamic Table Issue