jquery selector "or" ?
Posted
by Hellnar
on Stack Overflow
See other posts from Stack Overflow
or by Hellnar
Published on 2010-03-20T22:09:50Z
Indexed on
2010/03/20
22:11 UTC
Read the original article
Hit count: 295
jQuery
|jquery-selectors
$(".box :text").tooltip({
//do stuff
}
now it works well for selecting :text
areas under box classes however I also want to include :password
areas aswell. How can I combine selectors without writing 2 seperate selectors and execute 2 different methods?
© Stack Overflow or respective owner