Solved make a hidden button + textbox

Microsoft / Vista
August 22, 2009 at 09:25:09
Specs: Windows Vista, 2GB
Hello, I need to find a way to make hidden objects, mostly a textbox and a button, on my web site, does someone have a code I can use? I know it is possible. JQuery does not work on my server; I need just plain javascript.

See More: make a hidden button + textbox

Report •

August 22, 2009 at 22:26:17
✔ Best Answer
You can try something like

<input id="tb" type="text" onmouseover="hide(" onmouseout="show(">

<script type="text/javascript">

function hide(id) {

   document.getElementById(id).style.visibility = "hidden";

function show(id) {

   document.getElementById(id).style.visibility = "visible";


If it works, all you'd need to do is use whatever trigger you need for the desired functionality.


Report •
Related Solutions

Ask Question