Hello! There is a form to fill in, I wanted so that every time the cursor is placed on any element of the form, for example, to the left in another cell, information would appear what to write there and how) This "technology" is present here on the HashCode when you fill out the form to send the question!) How is it implement, tell me) Thank you.
1 answer
We read a short article about the events, in the same place the table: link . The code will be something like this:
<input type="text" id="login" onMouseDown="document.getElementById('loginAbout').style.display='block';" /> <div id="loginAbout" style="display:none;">Описание для поля логин...</div>
Try it.
- 3Onfocus and onblur - Enpire are more common for this situation .
- Yeah, thanks) And how for example to realize that in the same place, when focusing on different elements, different information appeared? What is needed for this? Frame to use and load different html there or can you specify different info for different elements as an array?) - Leshij_2005
- Sorry, I solved the problem!) Thanks Enpire, for the hint about onBlur) Thank you all again) - Leshij_2005 5:52 pm
|