/    Sign up×
Community /Pin to ProfileBookmark

I have created a web page and when the user points to the submit button I want it to be highlighted. Is there a function I can write that would correspond to ONMOUSEOVER that would highlight the button?

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@felgallOct 12.2005 — Use onmouseover and onlouseout to change the class associated with the button and define two classes in your stylesheet to set the highlighted and unhighlighted appearance.
Copy linkTweet thisAlerts:
@herodote92Oct 13.2005 — 'onlouseout' was good... ?
×

Success!

Help @jliz2803 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...