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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T21:37:08+00:00 2026-06-08T21:37:08+00:00

Usually they make another thing: enable/disable text input field when checkbox checked/unchecked, but i

  • 0

Usually they make another thing: enable/disable text input field when checkbox checked/unchecked, but i need enable group of checkboxes (weekdays) only when user entering some text in text field (Start date). So checkboxes must still disable while user not type Start date in input field.

I think that I need back action than here: http://jsfiddle.net/H8VPY/11/

Please help me choose right jquery event.

  • 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-08T21:37:11+00:00Added an answer on June 8, 2026 at 9:37 pm

    You can use prop() method and keyup event handler. Try the following:

    $('input[name=other_name]').keyup(function(){
        if (this.value.length > 0) {
           $('input[name="others"]').prop('disabled', false)
        } else {
           $('input[name="others"]').prop('disabled', true)      
        }
    })
    

    DEMO

    or as Esailija correctly suggests you can use shorter version:

    $('input[name=other_name]').keyup(function(){
         $('input[name="others"]').prop('disabled', !this.value.length)
    })
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

They usually involve generics. But some methods with generics don't have them, and not
Regular Expressions are usually expressed as strings, but they also have properties (ie. single
Usually I worked with PostgreSQL and never had a problem, but now I need
A lot of JavaScript libraries have user interface widgets. Usually they are created after
You know those 300mb gameloft games? They usually come as very small apk files
I've got an app that is heavily based on remote images. They are usually
I've had trouble finding a clear, concise laymans definition of a class. Usually, they
Usually, on twitter tweet button, if I don't specify data-text it take the page
Is there any handy tool that can make updating tables easier? Usually I got
My client has a Drupal 6 site. They are now adding another domain to

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.