Jquery modal dialog disables its own controls
- by Anil Soman
I have a DIV to be shown as modal dialog in my ASP.Net MVC project. This DIV has a textbox to accept user input. However, when I open the dialog with modal option set to true, it disables this textbox as well along with parent form controls!
How do I enable the controls on the dialog when open as modal?
<div id="assumption-block" class="ic-assumption-block-pos">
<input type="text" id="maxid" value="text" />
</div>
Script
$('#assumption-block').dialog({modal:true});