First Draft
First Draft of the Example Files
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Events: blur</title>
|
||||
<script src='jquery-3.5.1.min.js'></script>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Click in and out of these fields</h2>
|
||||
<input id='first'> <input> <input> <input>
|
||||
<script>
|
||||
$('#first').focus()
|
||||
$('input').focus(function() { $(this).css('background', '#ff0') } )
|
||||
$('input') .blur(function() { $(this).css('background', '#aaa') } )
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user