Created
September 19, 2014 07:00
-
-
Save avermeulen/c0b1716522861db4bee3 to your computer and use it in GitHub Desktop.
// source http://jsbin.com/dicoze/2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
h1 { | |
color : orange; | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Hello</h1> | |
<input type="button" id="ola" value="ola"> | |
<script id="jsbin-javascript"> | |
$(function(){ | |
$("#ola").click(function(){ | |
alert("ola!"); | |
console.log("ola"); | |
}); | |
}); | |
</script> | |
<script id="jsbin-source-html" type="text/html"><!DOCTYPE html> | |
<html> | |
<head> | |
<script src="//code.jquery.com/jquery-2.1.1.min.js"><\/script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<h1>Hello</h1> | |
<input type="button" id="ola" value="ola"> | |
</body> | |
</html></script> | |
<script id="jsbin-source-css" type="text/css">h1 { | |
color : orange; | |
}</script> | |
<script id="jsbin-source-javascript" type="text/javascript">$(function(){ | |
$("#ola").click(function(){ | |
alert("ola!"); | |
console.log("ola"); | |
}); | |
});</script></body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 { | |
color : orange; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
$("#ola").click(function(){ | |
alert("ola!"); | |
console.log("ola"); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment