Guest User

Untitled

a guest
Nov 20th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. <form>
  2. <input id="target" type="text" value="Field 1">
  3. <input type="text" value="Field 2">
  4. </form>
  5. <div id="other">
  6. Trigger the handler
  7. </div>
  8. The event handler can be bound to the first input field:
  9. $( "#target" ).blur(function() {
  10. alert( "Handler for .blur() called." );
  11. });
Add Comment
Please, Sign In to add comment