ZVON > References > DOM2 Reference

blur (method )

Owning interface and usage:  
HTMLAnchorElement.blur()

Member of these other interfaces:  
none

Description:  
Removes keyboard focus from this element.

Parameters:  
none

Returns:  
nothing

Exceptions:  
none


Example:
Source:
   <A id="aLink" href="#">a test link</A>
JavaScript:
  function focusLink() {
    var main = document.getElementById('aLink');
    main.focus();
  }
  function blurLink() {
    var main = document.getElementById('aLink');
    main.blur();
  }
Try it:    
See it: