Created
October 14, 2014 20:29
-
-
Save jlarteaga/93e42c46e052e737da87 to your computer and use it in GitHub Desktop.
HTML: test
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
<html> | |
<head> | |
<title>JQuery Test</title> | |
<script type="text/javascript" src="jquery.js"></script> | |
</head> | |
<body> | |
<input type="text" name="input1" id="input1"> | |
<div id="result-panel"></div> | |
<script type="text/javascript"> | |
$(function() { | |
$('#input1').on('focusin',function() { | |
$('#result-panel').append('<h1>Input 1 tuvo focus</h1>'); | |
}); | |
$('#input1').on('focusin',function(){ | |
$('#result-panel').append('<h1>Soy la función adicional, Input 1 tuvo focus</h1>'); | |
}); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment