Skip to content

Instantly share code, notes, and snippets.

@lele85
Created October 24, 2013 18:32
Show Gist options
  • Select an option

  • Save lele85/7142567 to your computer and use it in GitHub Desktop.

Select an option

Save lele85/7142567 to your computer and use it in GitHub Desktop.
<html>
<head>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script>
(function($, window, document){
$(document).ready(function(){
$(window).blur(function(){
$('h1').text("Cambio il titolo al blur");
});
});
}(jQuery, window, document))
</script>
</head>
<body>
<h1>Testo Bellisimo</h1>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment