-
-
Save gutenberghub/fc1b94a464db70ddd6824f4105737897 to your computer and use it in GitHub Desktop.
Toggle switch pricing tabel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> | |
<script> | |
$( document ).ready(function() { | |
$('.group-two').hide(); | |
$('.change-price').on('click', | |
function() { | |
$('.group-one, .group-two').toggle(); | |
} | |
); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
when I paste JS code in my wordpress I get error notice "Parsing error: unexpected token <"
Any suggestion?
Kind, Daniel