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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:43:51+00:00 2026-05-24T21:43:51+00:00

We have styled our buttons using: .button{blah} .button:active{blah} When we submit the form, we

  • 0

We have styled our buttons using:

.button{blah}
.button:active{blah}

When we submit the form, we disable the buttons

$('#letterButtons input').attr('disabled','disabled');

but on webkit, after they have been disabled they still “look” active because they change when clicked.

Tried this but no joy…

$('#letterButtons input').removeClass('button:active');
$('#letterButtons input').removeClass('button\\:active');

Actually after setting the tags, I remembered that we are using Zepto, so it might be a zepto problem…

  • 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-24T21:43:52+00:00Added an answer on May 24, 2026 at 9:43 pm

    You could try using:

    $('#letterButtons input').trigger('mouseleave');
    

    But this is prone to failing if the mouse is still hovering over the element. You could also use CSS:

    #letterButtons button[disabled]:active {
        color: #999;
        background-color: #ccc;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Cause I have a custom styled / positioned button. Currently, our set up is:
I have a wizard-style HTML form with a row of submit buttons for the
We have several wizard style form applications on our website where we capture information
We have a general style in default.xaml, targeting all buttons in our application. Is
This is in ASP.NET. We are using a ExtJS frontend, and have our own
I have two reasons I want to use csssprites for submit buttons : I
I have a jQuery UI Button that I am trying to style using CSS.
I have a snippet to create a 'Like' button for our news site: <iframe
I have a login form on our new website design, and it has a
I have created styled a ListBox in WPF so that it is rendered as

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.