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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:19:04+00:00 2026-06-03T02:19:04+00:00

I have an aspx page that contains a dialog box defined with JQueryUI $(‘#dialog’).dialog({

  • 0

I have an aspx page that contains a dialog box defined with JQueryUI

$('#dialog').dialog({
    modal: true,
    autoOpen: false,
    minWidth: 500,
    title: 'my dialog',
    buttons: { Finished: function() { $(this).dialog("close"); }
    }
});

Within the page I have a button which is supposed to open the dialog

<button class="button" id="dialogLoader">Open</button>

The JavaScript for opening the dialog is

$('#dialogLoader').live('click', function(event) {
    event.preventDefault();
    $('#dialog').dialog("open");
    loadDialogContent();
});

In Chrome Firefox etc all is good but IE9 does not load the dialog, even though when debugging all code appears to execute fine.

Any Ideas

UPDATE

Still have this problem I have updated the code above to show that I am now utilising preventDefault(); which I thought was the cause of the problem (if the problem is indeed event bubbling). but I still have no remedy to this if this was plain HTML it would work but I fear the involvement of ASP has caused some irregularity in rendering, which unfortunately returns no error.

UPDATE

Could the fact that this button is within JQueryUI tabs be causing the issue in IE9?

  • 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-06-03T02:19:05+00:00Added an answer on June 3, 2026 at 2:19 am

    as you wrote your debug info is clean, this is just one idea. I hope this helps a little bit. attachEvent for Explorer.

    var button = document.getElementById('dialogLoader');
    if (button.addEventListener) {
        button.addEventListener('click', function() {
            //action
        }, true);
    } else if (button.attachEvent) {
        button.attachEvent('click', function() {
            //action
        }, true);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an aspx page that contains a checkbox, and a button. The button
I have an aspx page that contains a user control. The user control has
I have an HTML link that opens a jQuery modal dialog which contains an
I have an aspx page that contains regular html, some uicomponents, and multiple tokens
I would like to have an aspx page that contains something like.... <form id=form1
I have an .aspx page that contains two buttons one is btnCancel and another
I have an aspx page that contains a number of collapsiblepanels and I want
I have a ASPX Page that contains several user controls, which are loaded dynamically
I have an aspx Page that contain a userControl that contains textboxes. in the
I have a page (myPage.aspx) that contains a number of divs. EG. <div class=quote>something

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.