jQuery UI's Dialog doesn't work on ASP.NET

后端 未结 2 1976
予麋鹿
予麋鹿 2021-01-26 17:20

I have the following test ASPX page:


    
    

        
相关标签:
2条回答
  • 2021-01-26 17:50

    try chaning $(function() { to $(document).ready(function() {

    also check where it fails with some sort of javascript debugger opera got builtin and FireFox got FireBug..

    0 讨论(0)
  • 2021-01-26 17:57

    I think that this is caused because you are calling:

    dlg.parent().appendTo(jQuery('form:first'));
    

    at the close callback. This will move the dialog. Why don't you call this immediately after creating the dialog?

    0 讨论(0)
提交回复
热议问题