function user_address_delete(req,elId) {

  app.preloader.show();

  $.ajax({

    type: "post",

    url: base_url + 'address_delete',

    data: req,

    success: (res) => {

      if (res.status) {

          app.preloader.hide();

          app.dialog.alert("Address deleted successfully", "Success");

          $("#"+elId).remove();

          localStorage.setItem('t01_user', JSON.stringify({

            uuid: res.data.uuid,

            email: res.data.email,

            sess_token: res.data.token,

            data: res.data

          }))

      } else {

          app.preloader.hide();

          app.dialog.alert("Failed to delete address", "Error");

      }

    }

  })

}