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