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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:21:32+00:00 2026-05-30T12:21:32+00:00

Following Example 2 in http://knockoutjs.com/documentation/hasfocus-binding.html JSFiddle showing problem: http://jsfiddle.net/hXqFu/2/ It works great for both

  • 0

Following Example 2 in http://knockoutjs.com/documentation/hasfocus-binding.html

JSFiddle showing problem: http://jsfiddle.net/hXqFu/2/

It works great for both text and checkbox in Firefox, but in Chrome it doesn’t work properly. As soon as I click the checkbox to select or deselect, it seems to lose focus before the check happens.

Any suggestions on how to get this working in Chrome? If I need to, I can just leave it always in “edit” mode, but I’d like to find out if there’s a way to get this working.

Edit:
The problem I’m having is that I’m unable to toggle the checkbox. As soon as I click on it to try to toggle it, the checkbox disappears.

  • 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-30T12:21:34+00:00Added an answer on May 30, 2026 at 12:21 pm

    You’re setting the bool too early. This jsfiddle works in chrome:

    http://jsfiddle.net/f5PaG/1/

    I haven’t altered the textbox code, just the checkbox stuff.

    UPDATE: new jsfiddle to show the checkbox while it’s focused: http://jsfiddle.net/hXqFu/3/

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

Sidebar

Related Questions

I took the original 'Cart editor' example at http://knockoutjs.com/examples/cartEditor.html (jsFiddle - http://jsfiddle.net/rniemeyer/adNuR/ ) and
Consider the following example code: http://code.google.com/apis/maps/documentation/javascript/examples/streetview-simple.html I can do scrollwheel: false on a mapOptions
Consider the following example (also available here: http://jsfiddle.net/hq8Fg/1/ ). It works fine in IE9,
I have the following example: http://jsfiddle.net/LAMdV/ HTML: <div id=imageSlider> <span class=info id=info1> hello world
I'm following the example here: http://developer.android.com/resources/tutorials/views/hello-tabwidget.html Everything works fine. The first time I click
For the following example: http://developer.yahoo.com/yui/examples/tabview/frommarkup_clean.html I would like to make the tabs right aligned
I'm following this example: http://www.codinghorror.com/blog/2005/12/getting-started-with-indexing-service.html However, the conversion to dataset shows empty columns for
In the documentation concerning Fixtures ( http://api.rubyonrails.org/classes/Fixtures.html ) they provide the following example of
Given the URL (single line): http://test.example.com/dir/subdir/file.html How can I extract the following parts using
im following this example http://jsfiddle.net/rniemeyer/badZb/ . I just copy and paste the exact code

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.