jQueryUI autocomplete not working with dialog and zIndex
I ran into an interesting issue with jQueryUI autocomplete in a dialog box. My dialog HTML looks like this: <div id="copy_dialog"> <table> <tbody> <tr> <th>Title:</th> <td><input type="text" class="title" name="title"></td> </tr> <tr> <th>Number:</th> <td><input type="text" name="number"></td> </tr> </tbody> </table> </div> When I run the jQueryUI autocomplete on the above HTML, it works perfect. When I open it up using dialog $('#copy').click(function() { $('#copy_dialog').dialog({ autoOpen: true, width: 500, modal: false, zIndex: 10000000, title: 'Duplicate', buttons: { 'Cancel': function()