$.ajax({ type: \"POST\", url: baseURL+\"sys/formTipi_azioni\",data:\"az_tipo=\"+azione, beforeSend: function(){$(\"#form\").html(\'
Instead of trying to compose the post data yourself, you can also let jQuery do the work by passing it an object:
$.ajax({ type: "POST", url: baseURL+"sys/formTipi_azioni", data: {az_tipo: azione}, beforeSend: function(){$("#form").html('');}, success: function(html){$("#form").html(html);} });
');}, success: function(html){$("#form").html(html);} });