First I would do the opposite when making your call try { AJAX = new ActiveXObject("Microsoft. XMLHTTP"); // Try Internet Explorer } catch(e) // Failure then it is something else. { AJAX = new XMLHttpRequest(); } Then I would also change the way you get the answer because you want readyState and status, not or as you put it AJAX.
Onreadystatechange = function() { var xhrdata = ""; if(AJAX. ReadyState == 4) { if(AJAX. Status == 200) xhrdata = AJAX.
ResponseText; else xhrdata = AJAX. Status; } } you could event put a try too and catch(e) for sending a message on Server Error. You can replace the xhrdata with the callback function too.
First I would do the opposite when making your call. Try { AJAX = new ActiveXObject("Microsoft. XMLHTTP"); // Try Internet Explorer } catch(e) // Failure then it is something else.
{ AJAX = new XMLHttpRequest(); } Then I would also change the way you get the answer because you want readyState and status, not or as you put it. AJAX. Onreadystatechange = function() { var xhrdata = ""; if(AJAX.
ReadyState == 4) { if(AJAX. Status == 200) xhrdata = AJAX. ResponseText; else xhrdata = AJAX.
Status; } }; you could event put a try too and catch(e) for sending a message on Server Error. You can replace the xhrdata with the callback function too.
You can also use "&&" instead of "||" – karlcow Jan 26 at 23:09.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.