Possible Duplicate:
Jquery Modal Dialog disables form elements
I'm using JQuery UI to make a modal dialog, I have the html code in my page set to display:none and the modal is shown on button click, the modal shows fine but all the text fields that I have in it are locked, for some reason. Anyone had this issue?
E开发者_JAVA技巧DIT:
Here's the code of what I'm doing: http://jsfiddle.net/5Xmmb/1/ here it seems to work. What I meant by locked is that my fields seem to be disabled in my actual code.
The z-index of the form is most likely the problem. Try setting it to "auto":
#my_dialog_form {
z-index: auto;
}
精彩评论