[jQuery] Re: Conventional JS/DOM to jQuery conversion help

2007-05-23 Thread Andy Matthews
To access a form element by name: $('[EMAIL PROTECTED]) -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cliff Sent: Wednesday, May 23, 2007 10:52 AM To: jQuery (English) Subject: [jQuery] Conventional JS/DOM to jQuery conversion help I am new

[jQuery] Re: Conventional JS/DOM to jQuery conversion help

2007-05-23 Thread Glen Lipka
re: the second part. Do you mean something like: $(input).next().remove(); or $(input).siblings(div.error).remove(); You can see different ways of achieving the same goal depending on your structure and circumstances. Glen On 5/23/07, cliff [EMAIL PROTECTED] wrote: I am new to jQuery and

[jQuery] Re: Conventional JS/DOM to jQuery conversion help

2007-05-23 Thread Daemach
I don't know if you've found these yet, but here are two great sources of information - reading the examples in the api browser will really help you get your head around the jquery methodology. I'm from a DOM background too, and this is how I got up to speed

[jQuery] Re: Conventional JS/DOM to jQuery conversion help

2007-05-23 Thread Daemach
I don't know if you've found these yet, but here are two great sources of information - reading the examples in the api browser will really help you get your head around the jquery methodology. I'm from a DOM background too, and this is how I got up to speed

[jQuery] Re: Conventional JS/DOM to jQuery conversion help

2007-05-23 Thread cliff
That's it, just $('[EMAIL PROTECTED]) I don't need form or input in front of it? Do you mean something like: $(input).next().remove(); or $(input).siblings(div.error).remove(); Interesting. Either of these would be a start. But I'd still need to loop over next to remove all siblings or