How past parameters with ajaxStetings (ajaxOption depreciated)

How past parameters with ajaxStetings (ajaxOption depreciated)

Hi,

Excuse my bad english.
ajaxOption depreciated, how can I pass parameters to recover in php

Javascript :
  1. <script type="text/javascript">
  2.   $(function() {
  3.     $("#tabs").tabs(
  4. {
  5.     beforeLoad: function(event, ui)
  6. {
  7. ui.ajaxSettings.type = 'POST';
  8. ui.ajaxSettings.username = 'foo';
  9.         ui.jqXHR.fail(function()
  10. {
  11.           ui.panel.html("Couldn't load this tab. We'll try to fix this as soon as possible. " + "If this wouldn't be a demo." );
  12.         }
  13. );
  14.       }
  15.     });
  16.   });
  17.   </script>

PHP file :
  1. <?php
  2. $_POST['username'];
  3. ?>
Please help me, thanks