'hideFocus' Example : hideFocus : Javascript Properties : JavaScript Reference examples (example source code) Organized by topic

JavaScript Reference
C++
PHP


JavaScript Reference  »  Javascript Properties   » [  hideFocus  ]   
 



'hideFocus' Example

    
<html>
<body>
<script>
function hFocus() {
    document.all.myLink.hideFocus = "true";
    alert("The A element lost focus.\nPress tab key to verify");
}
</script>
<a tabindex="2" id="myLink" href="http://www.java2s.com">java2s.com home page</a>
<button onclick="hFocus();">Hide Focus</button>
</body>
</html>

    
      
      
Related examples in the same category
1.  'hideFocus' Syntax and Note
2.  'hideFocus' Possible Values
3.  'hideFocus' is applied to
























Home| Contact Us
Copyright 2003 - 07 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.