Skip to content

Instantly share code, notes, and snippets.

@rmacy
Last active May 3, 2018 18:00
Show Gist options
  • Select an option

  • Save rmacy/5f1ca0aafcb32be554f2defb7b4d1591 to your computer and use it in GitHub Desktop.

Select an option

Save rmacy/5f1ca0aafcb32be554f2defb7b4d1591 to your computer and use it in GitHub Desktop.

Revisions

  1. rmacy revised this gist May 3, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion jquery-code-example.js
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    $('#someElementId').removeClass('off').addClass('on');
    $('#someElementId').removeClass('hidden').addClass('display');
  2. rmacy created this gist May 3, 2018.
    1 change: 1 addition & 0 deletions jquery-code-example.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    $('#someElementId').removeClass('off').addClass('on');