All pastes #460050 Raw Edit

Unnamed

public javascript v1 · immutable
#460050 ·published 2007-04-26 20:31 UTC
rendered paste body
var myArray = $('#container').find('target');for(var i = 0; i<myArray.length;i++){     $(myArray[i]).click) function ()                          {                             alert($(this).attr('id'));                             });}// should this return undefined for the attr('id') ?