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
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
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
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
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
5 matches
Mail list logo