title: responsetext of XMLHttpRequest is null(blank) in Mozilla
body: <p>When I am running the below code in IE it is running fine.</p>
  
  <p>But in mozilla ff, value of layerId is blank because <code>reqGetSubMenuRef22.responseText</code> is null at line1.</p>
  
  <pre><code>function ajaxFunctionCallGetSubMenuRef22(url)
  {
      if (window.XMLHttpRequest) { // Non-IE browsers and IE&gt;=7
        reqGetSubMenuRef22 = new XMLHttpRequest();
  
        reqGetSubMenuRef22.onreadystatechange = processStateChangeGetSubMenuRef22;
        try {
          reqGetSubMenuRef22.open("GET", url, true);
          (( reqGetSubMenuRef22.setRequestHeader &amp;&amp; method == "GET" ) ?  reqGetSubMenuRef22.setRequestHeader("Content-Type", "application/x-www-form-urlencoded") : reqGetSubMenuRef22 );
        } catch (e) {
          alert(e);
        }
        reqGetSubMenuRef22.send(null);
      } 
      else if (window.ActiveXObject) { // IE    
        reqGetSubMenuRef22 = new ActiveXObject("Microsoft.XMLHTTP");
        if (reqGetSubMenuRef22) {
          reqGetSubMenuRef22.onreadystatechange = processStateChangeGetSubMenuRef22;
          reqGetSubMenuRef22.open("GET", url, true);
          reqGetSubMenuRef22.send();
        }
      }
  }
  
  function processStateChangeGetSubMenuRef22() 
  {
  
      if (reqGetSubMenuRef22.readyState == 4) { // Complete
        if (reqGetSubMenuRef22.status == 200) { // OK response
              var textToSplit = reqGetSubMenuRef22.responseText; //line1
  
          if(textToSplit != null &amp;&amp; textToSplit != '') {
                  subMenuRef = textToSplit;
                  }
              else {
                  subMenuRef='';
                  }
  
          layerId=subMenuRef;
  </code></pre>