Take the tour ×  I'm trying to track registered user activity,
specifically, when they click a link to a file for download. The
filesystem plugin is WP-Filebase.  I found that when I added a
click() handler through jQuery, it wasn't happening, so I
switched to a mousedown() handler for my Ajax-based tracking.
What appears to be occurring (based on Firebug's Network
activity monitor) is that if I press the mouse (mousedown) and
then release, the resulting file download dialog box that occurs
cancels the mousedown activity (Network tab shows the mousedown
Ajax call as "cancelled"). The Ajax call therefore never makes
it to the server and so I don't get my tracking.  On the other
hand, if I press the mouse and DON'T release for a while, I do
get to see my test Ajax response, (an alert()).  This is not
viable for obvious reasons. Is there another solution? Can both
the mousedown and the anchor click work together, or will one
always cancel the other?  EDIT, here's some code that's behaving
as I described (linkx.