Simple jQueryUI Dialog causes error with 1.9
问题 I've previously used the following script and it worked perfectly. I am now getting the following error: Error: cannot call methods on dialog prior to initialization; attempted to call method 'close'. jquery-latest.js (line 507) If you upgrade to jQueryUI 1.10.1, it no longer causes an error. Normally, I would just let it go, upgrade, and not worry about it. Problem with this one is that it worked in the past so why not now is driving me crazy? I must be doing some silly thing different than