title: jquery ajax sucess data into facebox
body: <p>UPDATE: The code if working I has some css issues.</p>
  
  <p>I'm trying to put ajax data into facebox modal box, I have the  following code but facebox modal box is not loading. Looking into firebug ajax is returning the correct data but i do not know how to pass that data to facebox.</p>
  
  <pre><code>  $('a[rel*=facebox]').live("click", function() { 
  
      var ajaxpostID=$(this).parent().attr("id"); //Get entry ID
  
          $.ajax({
              url: 'http://www.someurl.com/ajax/facebox-ajax.php',
              type: "POST",
              data: ({
                  ajaxpostID: ajaxpostID
              }),
              success: function(data) {
                  $.facebox(data);
              },
              error: function() {
                  $.facebox('There was an error.');
              }
          });
     });
  </code></pre>