본문 바로가기

프로그램?!

무엇에 쓰는 물건인고..네덜란드리그?

function XmlMethod(m) {
  var xmlmethod = ("xml"+m);
  var xmlmethod = false;
  /*@cc_on @*/
  /*@if (@_jscript_version >= 5)
  try {
  xmlmethod = new ActiveXObject("Msxml2.XMLHTTP");
  } catch (e) {
  try {
  xmlmethod = new ActiveXObject("Microsoft.XMLHTTP");
  } catch (E) {
  xmlmethod = false;
  }
  }
  @end @*/

  if (!xmlmethod && typeof XMLHttpRequest != 'undefined') {
  xmlmethod = new XMLHttpRequest();
  }
  return xmlmethod;
}