Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis

gdyrrahitis/jquery.js Secret

Created Jul 10, 2019
Embed
What would you like to do?
// Chaining functions with jQuery
var banner = $('#banner-message');
banner
.css('background-color', '#eee')
.fadeOut(300)
.fadeIn(250)
.append($('<hr>'))
.append($('<footer>', { text: 'This is the footer' }));
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.