Hey all,
how do you pass data to the jqModal? For example, when Button2 is clicked can i pass the button's id or a hidden field and have the controller pick it up?
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<script type="text/javascript">
$(document).ready(function() {
$('#title').css('background-color', 'red');
$('#dialog').jqm({ trigger: '.Button2', ajax: "/Home/AddAssignment" });
});
</script>
<h2 id="title">Index</h2>
<div id="dialog" class="jqmWindow">This is a dialog window</div>
<a class="Button2" id="Button2">Test</a>
<div id="someDiv">some div</div>
</asp:Content>
Thanks, rodchar