Skip to content

Instantly share code, notes, and snippets.

@robertSahm
Created April 27, 2012 19:02
Show Gist options
  • Save robertSahm/2511898 to your computer and use it in GitHub Desktop.
Save robertSahm/2511898 to your computer and use it in GitHub Desktop.
jQuery replace with exampe
$('.guitarClick1 a').click(function() {
$('h2.chooseInstrument').replaceWith('<h2 class="chooseInstrument">Step 2: Choose a body style</h2>');
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment