Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6093683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:35:20+00:00 2026-05-23T12:35:20+00:00

Hi I have a JQuery Ui (jquery-ui-1.8.13.custom.min.js) inside a Dialog. When I start typing

  • 0

Hi I have a JQuery Ui (jquery-ui-1.8.13.custom.min.js) inside a Dialog. When I start typing on the box I get the dropdown of items but it hides right away? Does anyone know why? Here is my code:

 $(".openDialog").live("click", function (e) {
        e.preventDefault();
        var itemId = $(this).attr("data-item-id");
        var ajaxurl = $(this).attr('data-ajax-refresh-url');
        var dialogId = $(this).attr("data-dialog-id");
        $('<div><img src="Content/images/spinner.gif" /> Loading...</div>')
                    .addClass("dialog")
                    .attr("id", $(this).attr("data-dialog-id"))
                    .appendTo("body")
                    .dialog({
                        width: 'auto',
                        title: $(this).attr("data-dialog-title"),
                        buttons: {
                            "Save": function () {
                                $(this).find('form').submit();
                            },
                            close: function () {
                                if (typeof itemId != "undefined") {
                                    $.get(ajaxurl, { id: itemId },
                                        function (data) {
                                            // The data returned is a table <tr>
                                            $("#Row" + itemId).replaceWith(data);
                                        });
                                    bindConfirm();
                                }
                                $(this).remove();
                            }

                        },
                        modal: true
                    }).load(this.href, function () {
                        $(this).find("input[data-autocomplete]").autocomplete({ source: $(this).find("input[data-autocomplete]").attr("data-autocomplete") });
                    });

    });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:35:20+00:00Added an answer on May 23, 2026 at 12:35 pm

    They also had problems in early 1.8 releases. I remember applying a custom CSS selector to increase zIndex manually.

    See also: http://forum.jquery.com/topic/autocomplete-inside-a-dialog-1-8rc2

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use $(button).button(); but jquery-ui-1.8.16.custom.min.js used by SlickGrid doesn't have the button
I have created custom jQuery UI widget called uiPopover, very similar to UI-dialog (in
I have <script src=js/jquery-1.7.1.min.js type=text/javascript></script> <script type=text/javascript src=js/jquery-ui-1.8.18.custom.min.js></script> Note that the attributes are unordered.
I'm using this dependencies jquery-ui-1.8.18.custom.min.js (custom but with all jqueryui component) jquery-1.7.1.min.js spinejs 1.0.6
I currently have my assets in the jquery.rest.js and jquery-ui-1.8.11.custom.min.js files in my app/assets
I have a custom jQuery plugin which binds a change event to a form
I have a simple form and would like to add a custom jQuery validation
jQuery cannot find my custom attribute on a drop down menu I have a
How do i select elements that have my custom data attribute data-validate with jQuery
We are using jQuery in our project. We have numerous custom javascript files in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.