title: ajaxSubmitButton beforeSend add vars to request
body: <p>I have <strong>ajaxSubmitButton</strong> with <strong>beforeSend</strong> option:</p>
  
  <pre><code>echo CHtml::ajaxSubmitButton('', CHtml::normalizeUrl(array('site/index')), 
      array(
          'dataType'=&gt;'json',
          'data'=&gt;'js:jQuery(this).parents("form").serialize()',
          'beforeSend'=&gt;'js:function(data){
              // myArr is "good" array for param
              myData =$.param(myArr);
              /** SOMETHIG TO DO **/
          }',             
  
      )
  );
  </code></pre>
  
  <p>So how can I add <strong>myData</strong> to request data and send it with post request?</p>