Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

javascript how to display text when mouse over input text box?

How to display text when mouse over an input text box the simplest way (no css, or etc)??

like image 856
FernandoSBS Avatar asked Dec 22 '22 02:12

FernandoSBS


1 Answers

Put some title and alt attributes on it.

<input type="text" title="show this text" alt="show this text" />
like image 199
jon_brockman Avatar answered Dec 28 '22 08:12

jon_brockman