[jQuery] Re: [help] Math + Checkboxes

2009-05-31 Thread Ignacio Ricci
nd('input:checked').each(function() > { >         aditionalValue += Math.ceil($(this).val()); > > }); > On Sun, May 31, 2009 at 9:38 PM, Ignacio Ricci > wrote: > > > Hi Brian. I didn't see that, your definetely right. > > I changed what you told me, and it a

[jQuery] Re: [help] Math + Checkboxes

2009-05-31 Thread Ignacio Ricci
7;, you're selecting all > of them. The first part works properly because you're applying the > event handler to all of the inputs. But, when you use that same > selector the 2nd time, you're again selecting all of them, so the new > text is applied to all of spans. >

[jQuery] Re: [help] Math + Checkboxes

2009-05-31 Thread Ignacio Ricci
7;, you're selecting all > of them. The first part works properly because you're applying the > event handler to all of the inputs. But, when you use that same > selector the 2nd time, you're again selecting all of them, so the new > text is applied to all of spans. >

[jQuery] [help] Math + Checkboxes

2009-05-31 Thread Ignacio Ricci
Hi there. I'm not very good with Jquery and JS yet, so I'm having a bit of a problem trying to achieve this. What I need to do is explained here: http://ignacioricci.com/alphas/jquery-issue.gif And here is my actual code: http://ignacioricci.com/alphas/jquery-issue.html Is working in a way, but

[jQuery] Re: Numerize set of ids

2009-01-19 Thread Ignacio Ricci
Awesome! : D Thank you very much On Jan 19, 9:55 pm, "Mauricio \(Maujor\) Samy Silva" wrote: > Try this: > > $('.boxy').each(function(i) { > $(this).attr('id', 'myBoxNum' + i); > > } > > Maurício > > -Mensagem Origina

[jQuery] Numerize set of ids

2009-01-19 Thread Ignacio Ricci
Hello there, I'm new to Jquery, and I've been seraching the site for a while and couldn't get an answer to my problem. Here is my code: http://www.w3.org/1999/xhtml";> Jquery add ids $(document).ready(function (){ var obj = $('.boxy');