Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save joncode/2514200 to your computer and use it in GitHub Desktop.
Save joncode/2514200 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