I would like to set a jQuery variable, then target a className by doing something like this:
var chosen_language = '#English';
if (this.className == chosen_language) {
blah blah blah;
}
But the above does not seem to work because I have 3 separate classes here. The HTML looks something like this below:
<a id="English" class"English nturl en" href="#">English</a>
How can I target ONLY the 3rd class (i.e. en), using the exact example that I have above?