On 21 Apr., 15:12, Giant Jam Sandwich <[EMAIL PROTECTED]> wrote: > Try this instead: > > for (var i in folders) { > $('#f'+i).bind('click', function() { > alert ($(this).attr("id")); > }); > } > Perfect. Besides is it allowed to use just number as id's?
O. Wyss