Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
Event registration app with QR/Paypal
Home
Thursday, June 30, 2011
What is OR operator in jQuery selector, Multiple selector
Comma (,)
Put comma between difference selectors, you can get combine result. OR operator.
$
(
"div,span,p.myClass"
).
css
(
"border"
,
"3px solid red"
);
In jQuery, call Multiple selector
Reference:
http://api.jquery.com/multiple-selector/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment