StoykinButNotKrstakn
Programmer
When an ID is assigned to a TR or a TD, does anyone know how to retrieve and USE the ID on an event? I can't figure out how to pass this value in a manner that it is an object and not a string - so I can use it along with the properties (e.g. IDNAME.Style.Color = "Black".
Example:
We are showing a listing of employees - this will be a flexible number. Each employee has an unique identifier. I've placed my code to create a <TR> for each record, and the ID has been assigned "ENGR" + the Unique Identifier.
When a user moves the mouse over a row, I would like the color to change depicting when the cursor is over it using the onmouseover event.
The problem is that since there are a varying number of rows, I don't have a set number to run a CASE statement against. It would be nice if somehow the parameter of the ID name is passed, and my event script accepts and is able to USE the parameter as the object itself.
Hopefully this makes sense. Thanks for the help.
Nuke
Example:
We are showing a listing of employees - this will be a flexible number. Each employee has an unique identifier. I've placed my code to create a <TR> for each record, and the ID has been assigned "ENGR" + the Unique Identifier.
When a user moves the mouse over a row, I would like the color to change depicting when the cursor is over it using the onmouseover event.
The problem is that since there are a varying number of rows, I don't have a set number to run a CASE statement against. It would be nice if somehow the parameter of the ID name is passed, and my event script accepts and is able to USE the parameter as the object itself.
Hopefully this makes sense. Thanks for the help.
Nuke