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

  • Home
  • SEARCH
  • 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 7991435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T13:17:22+00:00 2026-06-04T13:17:22+00:00

Do you know why the button in the document doesn’t reappear in Firefox 12

  • 0

Do you know why the button in the document doesn’t reappear in Firefox 12 after the dialog box is closed?

<html>
    <head>
        <link type="text/css" href="jqueryui/css/smoothness/jquery-ui-1.8.20.custom.css" rel="Stylesheet" />    

        <script type="text/javascript" src="jqueryui/js/jquery-1.7.2.min.js"></script>
        <script type="text/javascript" src="jqueryui/js/jquery-ui-1.8.20.custom.min.js"></script>

        <style></style>

        <script type="text/javascript">
            $(document).ready(function() {
                $("#click").click(function() {
                    $("#dialog").attr("title", "save").text("This is the dialog box!").dialog({
                        buttons: {
                            "OK": function() {
                                $(this).dialog("close");
                            }
                        }
                    });
                });
            });
        </script>
    </head>

    <body>
        <div id="dialog" title="Basic dialog">
            <input type="button" value="click" id="click" />
        </div>
    </body>
</html>
  • 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-04T13:17:24+00:00Added an answer on June 4, 2026 at 1:17 pm

    Working demo http://jsfiddle.net/jyy96/6/

    Your button reside inside dialog input hence it get lost.

    move inout submit outside the dialog div

    Jouery code

    $(document).ready(function() {
        $("#click").click(function() {
            $("#dialog").attr("title", "save").text("This is the dialog box!").dialog({
                buttons: {
                    "OK": function() {
                        $(this).dialog("close");
                    }
                }
            });
        });
    });​
    

    html

    <body>
        <input type="button" value="click" id="click" />
        <div id="dialog" title="Basic dialog"></div>
    </body>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that a submit button in HTML can submit a form which opens
i dont know, why the button are disappear after the toolbar set to hide
I know google plus button doesn't work on IE7 but it also not working
<button type=button value=click me onclick=check_me(); /> function check_me() { //event.preventDefault(); var hello = document.myForm.username.value;
I have form with few buttons and I want to know what button is
Could you let me know how can I change font size of button caption
Does anyone know of a way to simulate pressing a detail disclosure button?
I'd like to know for a specific radio button group if a radio button
Does anyone know how to bind a Yes/No radio button to a boolean property
I don't know how to create a textfield with a camera button like the

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.