Gabriel Lovison wrote:
but if I put one name for <a> element, like this: <a name="xxxx">

how can I take this element with this name?

The answer is already in this thread elsewhere, but here's a solution for that special example:

$('a[name=xxxx]')

And that is a basic CSS attribute selector by the way:
http://www.w3.org/TR/CSS21/selector.html#matching-attrs

To use jQuery efficiently it makes total sense to get familiar with CSS selectors:
http://www.w3.org/TR/CSS21/selector.html



--Klaus

Reply via email to