This appears to be a bug in WebKit: https://bugs.webkit.org/show_bug.cgi?id=19922
It is affecting Apple Safari 3.2 and Google Chrome since they both use WebKit. I hope this is not a restriction that was placed purposely into the code. I dislike using workarounds like the one mentioned in the comments. On Nov 19, 7:03 pm, Trevor <[EMAIL PROTECTED]> wrote: > I am developing a very simple tracking script. Whenever a visitor > exits the page, the script pings a PHP script on a remote server. > > Here is the code I am currently using:http://pastebin.com/m63160ac > > This is working as desired in FF, IE, and Opera. Safari will perform > the 'alert' in the unload event, but not draw the image. I have also > tried to use $.getJSON instead of Image().src, but it resulted in the > same issue. I am baffled as to why this is occurring. > > Any help would be appreciated. Thank you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
