I have an image on a web page that when clicked changes the style of a div from 'none' to 'block' effectively showing the additional information. When the user clicks the image, I want to track the event in the underlying database.
How can I send a request behind the scenes to the server without interrupting the user experience? I'm looking at creating a .ashx to handle capturing the data. The information is for tracking purposes, thus if the .ashx fails, the user does not need to be advised of the error.