DatDudeFuddPucker Posted May 20, 2016 Share Posted May 20, 2016 I am using the onmouseover event. What I want essentially is when I put my mouse cursor over an input field, I want a pop up of some kind, in this case I am currently using the alert box, displaying an example of what kind of information I want people to put in the input field. That part works fine. The problem is that I discovered that the alert box has individuals required to hit ok to close the box. I want the alert box to disappear when I click on or remove the mouse from over the input field. I am guessing that I should use something besides alert box but I dont know what. Any help would be appreciated. Link to comment Share on other sites More sharing options...
musicman Posted May 20, 2016 Share Posted May 20, 2016 (edited) You can use Tooltip or set an input placeholder attribute like: <input type="text" placeholder="this is place holder" /> Edited May 20, 2016 by musicman Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now