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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:11:59+00:00 2026-05-17T01:11:59+00:00

http://jqueryui.com/demos/button/#default They are very simple to use, but for some reason my buttons are

  • 0

http://jqueryui.com/demos/button/#default
They are very simple to use, but for some reason my buttons are not “unclicking”. That is, after I have clicked a button, it maintains it’s hover style. If I set it’s onClick function to just do something simple like alert a message, I can click off the button, and it will return to normal. This is not a huge deal even though it doesn’t work exactly like the demo.

However, if I open a jQuery UI dialog with the onClick function, the hover style will not go away, even after closing the window and clicking elsewhere.

Has anyone else experienced these weird little issues, and know a solution? Any suggestions would be greatly appreciated.

  • 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-17T01:12:00+00:00Added an answer on May 17, 2026 at 1:12 am

    After a bit more searching, this appears to be a known bug in jQuery UI. http://forum.jquery.com/topic/button-and-dialog-ui-state-focus-on-button-being-kept

    Posted workaround:

    button.click(function() {
        button.removeClass("ui-state-focus ui-state-hover");
        ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

http://jqueryui.com/demos/datepicker/#dropdown-month-year the default dropdown year is form 2000 to 2020, how to extend it.
I'm toying with jQuery UI, and I like how this demo works: http://jqueryui.com/demos/dialog/#modal-message However,
http://jqueryui.com/demos/autocomplete/#combobox On the right hand side, there are selector tabs (with the selected arrow
http://jqueryui.com/demos/accordion/#custom-icons I want to add those up down arrow icons in my Accordian below.
At http://docs.jquery.com/UI/Tabs#Example there is a short HTML example of how to use JQuery UI
I'm trying to use jQuery .button() on a checkbox, but i can't understand why
http://en.wikipedia.org/wiki/Diamond_problem I know what it means, but what steps can I take to avoid
http://thedailywtf.com/Articles/The-Hot-Room.aspx You see how at the bottom there're links to the next and previous
http://developer.yahoo.com/javascript/howto-proxy.html Are there disadvantages to this technique? The advantage is obvious, that you can
http://support.microsoft.com/kb/953102 We spent about 50 hours during Christmas holiday to identify this problem, causing

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.