开发者

JQuery - Modal dialog seems to be disabling its form fields [duplicate]

This question already has an answer here: Closed 10 years ago.

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜