[jQuery] Re: Checkboxes, difference in browsers

2008-06-20 Thread jggube
Try something like instead: if( $(input[name='createNewAccount']).is(:checked) ) { //do stuff } On Jun 19, 11:07 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello. I have this JQuery code which works absolutely fine in Firefox: if ($(#createNewAccount).is(:checked)){      //

[jQuery] Re: select all divs with the same name

2008-06-20 Thread jggube
He meant id. In his example he used #mydelete. To select everything with class=test in mootools, you would do $$(.test). On Jun 20, 10:18 am, Ariel Flesler [EMAIL PROTECTED] wrote: If you really meant 'name' then: $('div[name=foo]') -- Ariel Fleslerhttp://flesler.blogspot.com On 20 jun,

[jQuery] Re: Event propagation and anchors

2008-06-05 Thread jggube
Hi, Not quite sure if I understood the problem - but if you mean that you only want the certain event triggered when you click on 1st-level a tags (same level as 1 Position), what you can do is use a next selector similar to: $(ul.someclass ul + li a).click({}); This way, the .click() event