Hello,
I am trying to make a simple (or so I thought) game:

Goal: Background picture
X covered with 16 buttons. (obscuring view of picture)
When clicking on a button, the button disappears revealing that part of picture.
After all buttons are clicked on, the entire picture is revealed.

Here is a part of the goal which I can not seem to get to work --
It is only a test I am trying to get the buttons to change to something else when clicked, at
this point I don't care what, I just need to get over this problem, so I can continue.
Thanks very much for any help
(PS Newbee, please be kind)
Steve in Pa.

My test code:

<html>
<head>
<script type="text/javascript">
value=0
function clearblock()
{
if (document.getElementById("but1").value == 1) {
alert("test");
</script>
</head>
<button id="but1" name="but1" onclick="clearblock()" style="height: 125; width: 170;" type="button" value=1>
<font face="arial" size="7">1</font>
</button>
<button id="bt1" name="bt2" onclick="clearblock()" style="height: 125; width: 170;" type="button">
<font face="arial" size="7">2</font>
</button>
</html>