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:
<input class="question_box" type="text">
<a id="addButton" class="pop_up" href="add_note.html">Ask Question!</a>
jquery:
/* Configuring the fancybox plugin for the "Add a note" button: */
$("#addButton").fancybox({
'zoomSpeedIn' : 600,
'zoomSpeedOut' : 500,
'easingIn' : 'easeOutBack',
'easingOut' : 'easeInBack',
'hideOnContentClick': false,
'padding' : 15
});