title: passing data to the fancy box using jquery?
body: <p>i want to know how to pass information from my the page to fancybox(lightbox) using jquery. i want to pass the information typed in the textbox(.question_box) when clicking the addButton to bring up a fancybox.
  html:</p>
  
  <pre><code>&lt;input class="question_box" type="text"&gt;
  &lt;a id="addButton" class="pop_up" href="add_note.html"&gt;Ask Question!&lt;/a&gt;
  </code></pre>
  
  <p>jquery:</p>
  
  <pre><code>/* Configuring the fancybox plugin for the "Add a note" button: */
      $("#addButton").fancybox({
          'zoomSpeedIn'       : 600,
          'zoomSpeedOut'      : 500,
          'easingIn'          : 'easeOutBack',
          'easingOut'         : 'easeInBack',
          'hideOnContentClick': false,
          'padding'           : 15
      });
  </code></pre>