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 6333441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:27:46+00:00 2026-05-24T18:27:46+00:00

I have the following code: $(#dialog).dialog({ height: 360, width: 630, modal: true, autoOpen: false,

  • 0

I have the following code:

$("#dialog").dialog({
    height: 360,
    width: 630,
    modal: true,
    autoOpen: false,
    show: 'blind',
    hide: 'drop',
    resizable: false,
    dialogClass: 'noFloat'
});

$("#openDiag").click(function() {

    $("#dialog").dialog('open');

    $.ajax({
        type: "POST",
        url: "setHsdSegment.jsp",
        dataType: "html",
        resizable: false,
        //data:"name="+name+"&age="+age,
        success: function(data) {
            $("#response").html(data);
        }
    });
});

The problem that I am facing is, the show and hide works only once. If I click on the button (#openDialog) again, only the translucent screen shows up and not the dialog box.

The funny thing is, this happens only when the hide is ‘drop’ and show is anything else except the ‘drop’. But when the show is ‘drop’ and hide is anything else, then everything is fine.

Does the show have to be ‘drop’ when the hide is ‘drop’?

EDIT: This is happening only in IE. ( as usual IE is causing problem. :D… why?)

  • 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-24T18:27:48+00:00Added an answer on May 24, 2026 at 6:27 pm

    I found a work around for it. Not sure if this is the best way, but it works.
    It is as follows:

     $("#openDiag").click(function(){
      $('#dialog').dialog('destroy');
       $("#dialog").dialog({
                        height: 360,
                        width: 630,
                        modal: true,
                        autoOpen: true,
                        show: 'slide',
                        hide: 'drop',
                        resizable: false,
                        dialogClass: 'noFloat',
                        buttons: { "Ok": function() { $(this).dialog("close"); 
    
                                                    } }
                    });
    

    It seems like for IE, I need to destroy the dialog plugin before I create a new one. I kept the ‘destroy’ at the beginning because I wanted to maintain the closing effect. What I am missing here is to check if the plugin exists, before I destroy it. But it still works with no errors; that I don’t know why.

    But this still doesn’t answer the question, why the problem existed in the first place, only for this particular combination and only in IE. Could someone tell me the reason?

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

Sidebar

Related Questions

I have the following code: $('#commonDialog').dialog({ autoOpen: false, modal: true, resizable: false, draggable: true,
I have the following HTML code for dialog box: <div id=modal-dialog class=no-display> <div class=form>
I have the following code. $(document).ready(function() { $('#btnOpen').click(function(e) { $('#content').modal({ onOpen: function(dialog) { dialog.overlay.fadeIn('slow',
Issue: not able to close modal dialog I have the following code, it works
I have the following ASP.NET code: <div id=panelIssue runat=server style=width: 450px; height: 320px;> <gsl:IssueUC
I have the following code that simply uses a jquery ui modal dialog to
i have following code to show div on page <div id=all_users> <div id=user11 userid=11
I have the following code that shows a jquery ui dialog form with data
Supposed I have the following code: <html:link onclick=jQuery('#add').data('name','${name}').dialog('open'); href=#> And with this, if ${name}
I have the following code for my dialog box, I want to get some

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.