Select a link by current URL

Select a link by current URL

Hi.

I am quite new to jquery and I wonder if I can do this:

I have an advanced menu. I want to give the link in the menu that is currently active a different styling than the other links.

One way to do this would be to select the link by saying: Get current URL. Now select all links in the menu that contains this URL.

Is this possible? And how?

Or is there an even easier way?

Thanks for helping.

/Kjemmo