Please be kind. I am a noob. Just because I didn't post a ton of code on here doesn't mean I haven't done "research". Thing is I'm just looking for direction.
I'm asking for the assistance of a more knowledgeable person of how to use jquery to:
- Parse a url
- Compare that url with a navigation menu selection
- Then if there is a match add a class to that navigation menu item.
Seems simple enough and I've stumbled across several pages, just wondering if I'm heading in the right direction.
Would any of these be the right way to go?
https://github.com/allmarkedup/jQuery-URL-Parser
Parse URL with jquery/ javascript?
Thanks for your help. :)