Skip to content

Instantly share code, notes, and snippets.

@arbales
Created April 21, 2010 03:47
Show Gist options
  • Save arbales/373390 to your computer and use it in GitHub Desktop.
Save arbales/373390 to your computer and use it in GitHub Desktop.
$$('a[href="<%=request.path_info%>"]').each(function(s){s.addClassName("selected")});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment