Hey all, Here is an example to somthing that I want to do, lets first look at some code
What I want is when I press the button, an alert is kicked off and then I want the button to change from
to
I want to change the onclick property for the button, can this be done? What element do I have to change?
Thanks,
-T
-How important does a person have to be before they are considered assassinated instead of just murdered?
-Need more cow bell!!!
Code:
<script>
function = funOne()
{
alert('This is #1');
}
function = funTwo()
{
alert('this is #2');
}
</script>
<body>
<button onclick="funOne()">
</body>
Code:
onclick="funOne()"
Code:
onclick="finTwo()"
Thanks,
-T
-How important does a person have to be before they are considered assassinated instead of just murdered?
-Need more cow bell!!!