Skip to content

Instantly share code, notes, and snippets.

@skipjac
Created February 17, 2011 20:13
Show Gist options
  • Select an option

  • Save skipjac/832571 to your computer and use it in GitHub Desktop.

Select an option

Save skipjac/832571 to your computer and use it in GitHub Desktop.
changes the H2 on the login page
message = '<h2>Test</2>';
//check to see if you are on the end users request page
if (window.location.href.indexOf('access') >= 0) {
jQuery('h2:contains(New to)').html(message);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment