gawel / pyquery

A jquery-like library for python
http://pyquery.rtfd.org/
Other
2.29k stars 182 forks source link

Why does `attr` only return a single value? #171

Open drozzy opened 7 years ago

drozzy commented 7 years ago

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.

gawel commented 6 years ago

That's how jQuery works AFAIK