pyquery icon indicating copy to clipboard operation
pyquery copied to clipboard

Why does `attr` only return a single value?

Open drozzy opened this issue 8 years ago • 1 comments

If I do something like this:

d(".foo").attr("action")

Even if I have multiple elements with class foo, I will only get a single value for this selector.

drozzy avatar Aug 15 '17 14:08 drozzy

That's how jQuery works AFAIK

gawel avatar Oct 21 '17 10:10 gawel