Tags generated using onclick or onsubmit
For tags generated using native onclick= or onsubmit= handlers, or equivalent custom events, in HTML anchor or form elements (example: onclick="cmCreateElementTag(...)";), enclose the cmCreate function call in a function that adds a setTimeout delay. This delays execution of navigation and allow time for any queued GET Image requests to actually be sent from the affected browsers.
Function example:
function doCmCall (that) { cmCreateElementTag("elementID", "elementCategoryID");
setTimeout('document.location = "' + that.href + '"', 200) }
HTML
example:
<a href="http://site.com/path/somefile.html?action=123"
onclick="doCmCall(this);return false">link</a>
Note: The
return false; value is required or no delay will occur and the generated request
will continue to received (Aborted) or (Cancelled) response.