GB_001 Posted March 30, 2008 Share Posted March 30, 2008 I keep getting an Out of error message in IE with ajax. Is there anyway to fix it? Thankyou. -GB. function ajaxFunction(){ var ajaxRequest; try{ ajaxRequest = new XMLHttpRequest(); } catch (e){ try{ ajaxRequest = new ActiveXObject('Msxml2.XMLHTTP'); } catch (e) { try{ ajaxRequest = new ActiveXObject('Microsoft.XMLHTTP'); } catch (e){ alert('Your browser broke!'); return false; } } } ajaxRequest.onreadystatechange = function(){ if(ajaxRequest.readyState == 4){ var ajaxDisplay = document.getElementById('mypopup2'); ajaxDisplay.innerHTML = ajaxRequest.responseText; } } var url = 'Reqaccept.php'; ajaxRequest.open('GET', url, true); ajaxRequest.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); ajaxRequest.send(null); ajaxFunction(); } Link to comment https://forums.phpfreaks.com/topic/98569-ie-out-of-memory/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.