Grazie quindi nel mio caso dovrei usare un codice del genere :

Prima :

codice:
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);

ORA :

codice:
 $.ajax({
   type: "POST",
   dataType: "json",
   url: URL + "/ajax",
   data: post,
   async:false,
   success: function(msg){
var json = msg;

var infotitle = json.version;
}
 });
oppure

codice:
 var json = $.ajax({
   type: "POST",
   dataType: "json",
   url: URL + "/ajax",
   data: post,
   async:false,
 }).responseText;

var infotitle = json.version;
Ciao