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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:52:23+00:00 2026-06-12T02:52:23+00:00

I Use jQuery Dialog to display a details form when creating a new user.

  • 0

I Use jQuery Dialog to display a details form when creating a new user.
I want to disable a form while performing an ajax request to the server to create the actual user in the DB.

I use $("#UserDetailsDialog").dialog("disable"); method to disable the dialog.

it seems that this method only affects the UI that makes the dialog half-transparent but does not actually doable the input fields and\or buttons of the dialog:

here is a code sample:
fiddle-code


EDIT:

I have filed a ticket for jQuery-UI Dev. team and got a quick “duplicate” reply.
It seems that the $("#myDialog").dialog("disable") method for jQuery-UI Dialog will not disable the inputs but will change only the UI to look like it is disabled.
This feature is indeed not documented well enough.
here is a link to the tikect: dialog(‘disable’) does not disable OK/Cancel buttons inside dialog

  • 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-12T02:52:24+00:00Added an answer on June 12, 2026 at 2:52 am

    Nothing, it looks like. There isn’t much documentation on the disable method or what its actually supposed to do.

    Apparently the disable method/option doesn’t affect the contents of the dialog (or the buttons, which is a little weird), just the dialog itself. If you want to disable the inputs on the dialog I would disabling the buttons/inputs manually as well:

    $("#UserDetailsDialog").dialog("disable")
        .closest(".ui-dialog")
        .find(":input")
        .prop("disabled", true);
    

    Example: http://jsfiddle.net/andrewwhitaker/p7tV7/15/

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

Sidebar

Related Questions

If I want to use a jquery dialog in order to display an error
If I want to use a jquery dialog in order to display an error
I want to use a jQuery UI dialog to display the errors in the
I am using jquery dialog to display my form and I use MVC 3
If I want to use a jquery dialog in order to display an error
I am trying to use JQuery UI dialog (modal form) for the following scenario.
Mobile browsers. Jquery dialog alert box. I don't want to use alert() because it
Use jquery + php. Doing custom AJAX captcha. i.e user clicks on image, it
I'm trying to use the jQuery UI Dialog to display a confirmation prior to
I want to use the following jQuery dialog box for to open different popup

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.