Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Custom events with jQuery
<h1>jQuery Testseite</h1>
<p id="test">Hello World!</p>
<p><a href="#" id="clickit">Click it!</a></p>
<script type="text/javascript">
function() {
function() {
console.log('Color changed!');
$('#test').css('color', 'Red');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.