Skip to main content

Bug Tracker

Side navigation

#1687 closed bug (fixed)

Opened September 19, 2007 09:11PM UTC

Closed November 16, 2007 12:41AM UTC

.click() fails

Reported by: mrzeld Owned by:
Priority: major Milestone: 1.2.1
Component: core Version: 1.2
Keywords: Cc:
Blocked by: Blocking:
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.

Attachments (0)
Change History (2)

Changed September 27, 2007 07:33PM UTC by davidserduke comment:1

This appears to be working in version 1.2.1

Changed November 16, 2007 12:41AM UTC by brandon comment:2

milestone: → 1.2.1
resolution: → fixed
status: newclosed