title: How to pass a data-title from a page to a fancybox form element?
body: <p>I have se a jsfiddle to help you to understand my goal</p>
  
  <p><a href="http://jsfiddle.net/CE2MZ/1/" rel="nofollow">http://jsfiddle.net/CE2MZ/1/</a></p>
  
  <p>What I am trying to do is to pass a php variable from my page to a fancybox form through data-title.</p>
  
  <pre><code>        $(document).ready(function() {
  
          $(".modalbox").fancybox({
          'closeBtn' : false
          });
  
       $(".action-xam").click(function(){
      //Get some info like the title
      var title = $(this).next("div").data("title");
      //Insert the info into xam
      $("#krimmeno").val(title);
  });
  
  
          });
  </code></pre>