Bug Tracker

Modify

Ticket #1687 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

.click() fails

Reported by: mrzeld Owned by:
Priority: major Milestone: 1.2.1
Component: core Version: 1.2
Keywords: Cc:
Blocking: Blocked by:

Description

see  http://groups.google.com/group/jquery-en/msg/1e858147be506d1b

i ran into the same problem. John suggest that an entry be made here for the problem, but i couldn't find it anywhere.

example...

<table><tr><td onclick="$(this).find('a').click()">

<a onclick="alert(1);">link</a>

</td></tr></table>

when you click on the TD, the onclick handler associated with the A doesn't get called.

it would be nice if this worked so that the "drop-in and work" capability of jquery is maintained. not everyone wants to rewrite their site to strip out all the onclick events.

Thanks.

Change History

comment:1 Changed 6 years ago by davidserduke

This appears to be working in version 1.2.1

comment:2 Changed 6 years ago by brandon

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to 1.2.1

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.