Jquery modal dialog disables its own controls

Posted by Anil Soman on Stack Overflow See other posts from Stack Overflow or by Anil Soman
Published on 2012-09-08T09:29:34Z Indexed on 2012/09/08 9:38 UTC
Read the original article Hit count: 266

Filed under:
|

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});

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about modal-dialog