title: Pass data via ajax to dialog Jquery
body: <p>I am trying to post data from my form to a jquery dialog that loads external content.</p>
  
  <p>I am serializing the form data which works (appears in the url) but the dialog won't open:</p>
  
  <pre><code>      $("#wavajax button").click(function() {
    $.post({url: 'player/index.php', data: $("#wavajax").serialize(), 
           success: function (data) {
  
                       $("#recordingdialog").load("player/index.php", [], function(){
                 $("#recordingdialog").dialog("open");
  
                   }
    });
    return false;
  });
  </code></pre>
  
  <p>What  am I doing wrong, am I going about it the right way???</p>