(if you don't know the code for this page click on the button)
var str = '<h1>You found my hidden code !</h1>\ <p>Well Done !</p>\ <p>You can use this callback function to do whatever you want !</p>\ <p><a class="btn btn-primary btn-large" href="example4.html">Show me this example again</a></p>'; $(window).hiddenCode({ password: 'bacon', callback: function() { $(".hero-unit").html(str); } });