You can do:
$("#country.save")...
OR
$("a#country.save")...
OR
$("a.save#country")...
as you prefer.
So yes you can specify a selector that has to match ID and class (and potentially tag name and anything else you want to throw in).
More Related Contents:
- Why is my jQuery :not() selector not working in CSS?
- jQuery or CSS selector to select all IDs that start with some string [duplicate]
- CSS selector case insensitive for attributes
- What CSS3 selectors does jQuery really support, e.g. :nth-last-child()?
- jQuery :contains selector to search for multiple strings
- :nth-of-type() in jQuery / Sizzle?
- Difference between CSS selector and jQuery filter?
- Get the selected option id with jQuery
- What JQuery selector excludes items with a parent that matches a given selector?
- Performance differences between using “:not” and “.not()” selectors?
- How can I select an element by name with jQuery?
- Wrap every 3 divs in a div
- use jQuery’s find() on JSON object
- Get an element by index in jQuery
- jQuery event for images loaded
- Select deepest child in jQuery
- Toggle Checkboxes on/off
- jQuery select all except first
- How to select all content between two tags in jQuery
- Selecting elements with a certain background color
- jQuery: Selecting all elements where attribute is greater than a value
- Get the DOM path of the clicked
- Efficient, concise way to find next matching sibling?
- jQuery select by class VS select by attribute
- How to check if an element does NOT have a specific class?
- AngularJS: $viewContentLoaded fired before partial view appears
- Performance of jQuery selector with context
- How to use multiple jquery object variables as selectors?
- How to select first row of the first table in an html page using jQuery?
- addClass every nth