southbeach
Programmer
I am working on a data grid where via CSS I highlight the row. I also use the onclick event to trigger an action if any column within the row is clicked; this is done by using onclick( ... ) within the <tr ...> tag.
I want to use images on two or three columns to trigger different action based on the clicked image. Problem is that since I have an onclick event within the row, it also triggers that action.
I guess I could do away with the onclick event within the row and put it within the columns ...
That being said, I would like to employ a checking routine where I check for the value of X,Y coordinates and figure out possible column clicked.
After spending a while perusing through the google results, I found nothing on this regard.
Thank you all for you help!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
I want to use images on two or three columns to trigger different action based on the clicked image. Problem is that since I have an onclick event within the row, it also triggers that action.
I guess I could do away with the onclick event within the row and put it within the columns ...
That being said, I would like to employ a checking routine where I check for the value of X,Y coordinates and figure out possible column clicked.
After spending a while perusing through the google results, I found nothing on this regard.
Thank you all for you help!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.