I am trying to set the class of a "<li>" based on if the page is loaded with an anchor. For example, if
http://www.example.com/index.html#services is loaded, I would like to change the class of li#nav_services to current. (The html would be <li id="nav_services" class="current">Services</li> after the change). How would I do this using jQuery?