Brandon schrieb:
The jQuery.each works wonders. It's also cleaner IMO. Thanks, Jörn.
There are two cases where you'd wan to avoid using each: When you need
to reference "this" without creating a closure and when you've got some
real performance issues. Apart from that I use it all the tim
The jQuery.each works wonders. It's also cleaner IMO. Thanks, Jörn.
Brandon
On Apr 17, 1:27 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Brandon schrieb:> I am finishing up a small script using the jQuery library,
> and I am
> > struggling with a onclick function:
>
> > for (i=0; i >$(
Brandon schrieb:
I am finishing up a small script using the jQuery library, and I am
struggling with a onclick function:
for (i=0; i
Oh, or just use jQuery.each:
jQuery.each(elements, function(i, value) {
$('#'+settings.instancename+'-nav-'+String(i+1)).click(function() {
Brandon schrieb:
I am finishing up a small script using the jQuery library, and I am
struggling with a onclick function:
for (i=0; i
I think the easiest approach is to copy the value:
for (i=0; ihttp://bassistance.de
4 matches
Mail list logo