I have a jquery click event like so:
$('#header #navigation a').on('click', function() {
I have two elements with the id navigation:
<nav class="navbar navbar-default communities-nav" id="navigation">
and
<nav class="navbar navbar-default" id="navigation" style="position: fixed; top: 0px;">
I only want this onclick event to apply the element without the class communities-nav
so I want to apply this onclick event to this element:
<nav class="navbar navbar-default" id="navigation" style="position: fixed; top: 0px;">