Hi all,

I'm trying to use Prototype to do asynchronous click-tracking... that
is, to
log a server record each time a user clicks a link to navigate to
another page.

I've set the link onclick up to call a simple function which makes an
Ajax.Request to send the data
without blocking.

However usually the server never gets the data, I think because the
current page Unloads before
Request can complete.

What's the correct way to accomplish this? Is there a way to make page
Unload wait until the
Request is sent (but not until the server responds)??


You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to