Hi We are making an ajax request to post some data to the server. As we do not want any response from the server we have a small timeout for these requests
function ajaxFunc(ajaxURL, dataString, isPost, dataTypeVal) { try { $.ajax({ async: true, cache: false, type: (isPost) ? "POST" : "GET", url: ajaxURL, data: (dataTypeVal!=null && dataTypeVal.toLowerCase ()=="json")? JSON.stringify(dataString):dataString, datatype:(dataTypeVal==null)?"xml":dataTypeVal, timeout:10 }) ; } catch(e) { console.log(e); } } This works for all browers except safari. Safari requests fail to reach the servers. Increasing the timeout to close to 150 ms makes it work on Safari. Any pointer what could be the reason? Thanks Kedar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---