jquery ajax beforeSend.

jquery ajax beforeSend.

Hi,
I need your help to display an alert (smartAlert) during  php file is calling by ajax beforeSend.
This is my code. It works fine but only inside div #risulta. Before that there are some links there are disabled after beforeSend:

$.ajax({
  type: 'POST',
  url: "registroQuadri1.php",
  data: {a:arg1, b:arg2, c:arg3},
  
  beforeSend: function(xhr){
 
$.alert.open({
    type: 'info',
    title: 'RegistroOnWeb - Caricamento in corso -',
    content: 'Caricamento del registro personale in corso. <br> Si prega di attendere...',
    buttons: false,
    cancel: false
});
  },
success: function(msg){
    $("#risulta").html(msg);
    datiJQuery(arg4);
  });

Thanks in advance.

Tegatti