ag3nt42 Posted July 18, 2008 Share Posted July 18, 2008 i'm running a script where I find the need to check wether or not an input has focus i've tried if(document.getElementById('element').focus()) { alert('This Element Has Focus!') } but i'm getting errors any help is much appreciated.. thanks ag3nt42 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.