Skip to main content

Bug Tracker

Side navigation

#12301 closed bug (invalid)

Opened August 15, 2012 01:43AM UTC

Closed August 15, 2012 01:47AM UTC

It seems radio selector has small problem.

Reported by: roundsummer@yahoo.com.cn Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:
Description

I try to append() a radio input to a table.After that I found the radio event can not trigge,

for example: I try to use to code:

$('input:radio').click(function() { alert('good'); });

This code could work when html page have the radio element, but after dynamically append radio element to the page, It seems the event could not work ! And I try to use click, focus, change, select event, but none of them working.

Attachments (0)
Change History (1)

Changed August 15, 2012 01:47AM UTC by rwaldron comment:1

resolution: → invalid
status: newclosed

Use http://api.jquery.com/delegate/ or the delegate form of "on"