onMouseOver

B

Bettina

How can I do so that when a move the mouse over a button <input type="button"..>
the button changes the colour or a hand is shown over it?

Thank you. Bettina
 
L

lallous

Hello

1)Give the button an ID and then get the object of the button through its ID
(getElementbyId() or document.all[], ...)
2)Add onmouseover event handler to the button
3)change the button's style accordingly: either change the cursor shape or
the button's colors.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,091
Messages
2,570,604
Members
47,223
Latest member
smithjens316

Latest Threads

Top