Bug Tracker

Modify

Ticket #8885 (closed bug: duplicate)

Opened 2 years ago

Last modified 19 months ago

triggering checkbox's click()

Reported by: qwertymk Owned by: qwertymk
Priority: undecided Milestone: 1.next
Component: event Version: 1.5.2
Keywords: Cc:
Blocking: Blocked by:

Description

When I trigger a checkbox's click event. it ends up being the wrong status.

Look at this demo to see what I mean:

 http://jsfiddle.net/EpPYk/

Change History

comment:1 Changed 2 years ago by timmywil

  • Owner set to qwertymk
  • Status changed from new to pending
  • Component changed from unfiled to event

Works for me. Which browser are you using?

comment:2 Changed 2 years ago by qwertymk

  • Status changed from pending to new

FF and Chrome, the first way should work like the second way.

comment:3 Changed 2 years ago by rwaldron

  • Status changed from new to closed
  • Resolution set to worksforme

The correct event to bind to is "change"

 http://jsfiddle.net/rwaldron/EpPYk/1/

comment:4 Changed 19 months ago by dmethvin

  • Status changed from closed to reopened
  • Resolution worksforme deleted

comment:5 Changed 19 months ago by dmethvin

  • Status changed from reopened to closed
  • Resolution set to duplicate

comment:6 Changed 19 months ago by dmethvin

Duplicate of #3827.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.