Jump to content

igor21

Members
  • Posts

    2
  • Joined

  • Last visited

igor21's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. still the same error in FF: "xmlhttp.Open is not a function"
  2. hey!I have some script that works greate in IE but not works in Firefox. function isExist(url,queries){ var xmlhttp; try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) { try { xmlhttp = new XMLHttpRequest(); } catch (e) { xmlhttp = false; }}} xmlhttp.Open('POST',url,false); xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xmlhttp.Send(queries); var result=(xmlhttp.responseText); return result; } What's wrong?Thanks!
×
×
  • Create New...