Salve avrei bisogno del vostro aiuto per poter usare jquery 1.5 per le chiamate ajax.. attualmente uso questo codice :

Per il parsing dei dati che ricevo in json :

https://github.com/douglascrockford/...aster/json2.js

e nel mio codice ho :

codice:
function CreazioneAJAX(){
 var activexmodes=["Msxml2.XMLHTTP", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP.6.0" ,"Microsoft.XMLHTTP"] //Per IE
 if (window.ActiveXObject){ //Test per il supporto per ActiveXObject in IE  (L' XMLHttpRequest in IE7 è errato)
  for (var i=0; i<activexmodes.length; i++){
   try{
    return new ActiveXObject(activexmodes[i])
   }
   catch(e){
    //rimuove errori
   }
  }
 }
 else if (window.XMLHttpRequest) // Per Mozilla, Safari etc
  return new XMLHttpRequest()
 else
  return false
}

  var post = "command=status&subsystem=main&dummy=" + (new Date()).getTime();
  
  var req = CreazioneAJAX();
  req.open("POST", URL + "/ajax", false);
  req.send(post);
  var json = JSON.parse(req.responseText);
Come posso tradurre in codice jquery tutto questo usando solo la libreria jquery? Potrei usare $.ajax o $.post? se si come?

Grazie a chi vorrà delucidarmi sulla questione...