/    Sign up×
Community /Pin to ProfileBookmark

Mouseover cells

what i want is to mouse over one cell in one table and change the background color of a cell in another table.

I keep getting a Object doesnt support this property or method error

i have done this

<tr
onMouseOver=”document.getelementbyid’ecom’).document.bgcolor=’#ffffff'”>
<td width=”20%” class=”copy”>&nbsp;</td>
<td width=”4″><img src=”images/global/sidearrow.gif” width=”4″ height=”11″ alt=””></td>
<td class=”copy”>eCommerce Solutions</td>
</tr>
…..
…..
…..
<tr>
<td id=”ecom” height=”18″ align=”center” bgcolor=”#cccccc”>
<font color=”#FFFFFF” size=”-1″><strong>eCommerce Solutions</strong></font></td> </tr>

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@PittimannFeb 03.2005 — Hi![i]Originally posted by frank_stain [/i]

[B]<tr

onMouseOver="document.getelementbyid'ecom').document.bgcolor='#ffffff'">[/B]
[/QUOTE]
<tr

onmouseover="document.get[COLOR=red]E[/COLOR]lement[COLOR=red]B[/COLOR]y[COLOR=red]I[/COLOR]d[COLOR=red]([/COLOR]'ecom').[COLOR=red]style.backgroundC[/COLOR]olor='#ffffff'">

Cheers - Pit
Copy linkTweet thisAlerts:
@frank_stainauthorFeb 03.2005 — legend

cheers
Copy linkTweet thisAlerts:
@PittimannFeb 03.2005 — ?

Cheers - Pit
×

Success!

Help @frank_stain 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 5.18,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...