Set up and click "show" to see effect.
$('#show').click(function () { flash($('#message').val(), { type: $('#type').val(), sticky: $('#sticky').is(':checked'), closable: $('#closable').is(':checked') }); });