Skip to content

Instantly share code, notes, and snippets.

Last active June 13, 2017 19:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Bajena/ca4189c7f9bd4667d7c6927b9baaf7c9 to your computer and use it in GitHub Desktop.
Prosty przykład użycia event listenerów
<meta charset="utf-8">
<title>Event handlers demo</title>
<script src="" type="text/javascript"></script>
<div class="wrapper" style="width:300px;height:300px;background:red;">
<button>Click me</button>
(function() {
$('.wrapper').click(function wrapperHandler() {
$('button').click(function buttonHandler() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment