Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

Document Dom / Table Events Problems

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Just Me - 18 Dec 2007 20:55 GMT
Hi Guys

Again, I know this isnt an IE group, but this is where the experts are and I
am  working on an asp,net project. In this scenario im working ont the
client javascript handling tables mouse events.

Essentially the problem description is very simple.

I have a table with rows and cells. I want the mouseLeave and mouseEnter
event to fire when a row is entered or left.

What is happening is  whenever I leave or enter a TD element the event also
fires even tho im not leavin the row. The events are defined when entering
or exiting a td in the same row.

<tr mouseleave="afunctionleave()" mouseenter="afunctionenter() > < td><td>
. . . .  .

How can I trigger the event or filter the event to I only process code wen
the row has changed.
Coskun SUNALI [MVP] - 25 Dec 2007 18:42 GMT
Hi,

Would you like to try "onmouseover" and "onmouseout" events?

<tr onmouseout="afunctionleave()" onmouseover="afunctionenter() > < td><td>

Signature

All the best,
Coskun SUNALI
MVP ASP/ASP.NET
http://sunali.com

> Hi Guys
>
[quoted text clipped - 16 lines]
> How can I trigger the event or filter the event to I only process code wen
> the row has changed.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.