test IE mouseenter button

by murgiaMarco

HTML

<script>
function testButton(x,isIn) {
  if (isIn) {
  	x.style.backgroundColor = "yellow";
  } else {
    x.style.backgroundColor = "white";
  }
}
function exposeTooltip(x,isIn) {
  if (isIn) {
  	x.style.color = "white";
  } else {
    x.style.color = "black";
  }
}
</script>
<html>
    <head>
        <title>Benvenuto</title>
    </head>
    <body>
       <button #button onmouseenter="testButton(this,true)" onmouseleave="testButton(this,false)" style="width:200px; height:40px">
          <div #div>
            <label #label onmouseenter="exposeTooltip(this,true)" onmouseleave="exposeTooltip(this,false)">TESTAMELO
            </label>
          </div>
        </button>

    </body>
</html>