Hey, i know im asking alot of questions hehe! but yano thats what you lovely people are here for
Can you just tell me how do i change a buttons background color on click on that button, i have working code to change the documents background colour on click but cant figure it out for the buttons... :S
following is the code what i think it is
for the background of a document im sure you know is you just change
to
so can someone please just tell me how the heck i do it haha! ty who ever helps me gets helpy points
Can you just tell me how do i change a buttons background color on click on that button, i have working code to change the documents background colour on click but cant figure it out for the buttons... :S
following is the code what i think it is
Code:
<html>
<input id="btn1" type="button" value="Click" />
</html>
<script language=vbscript>
sub btn1_onclick()
btn1.bgcolor="red"
end sub
</script>
for the background of a document im sure you know is you just change
Code:
btn1.bgcolor="red"
Code:
document.bgcolor="red"
so can someone please just tell me how the heck i do it haha! ty who ever helps me gets helpy points