Results 1 to 5 of 5
Nov 18, 2007, 11:49 #1
Prevent row selection when link is clicked within row
I have the following page: http://ericbusch.net/sitepoint/test-js.html
A row is highlighted when you click the row or check the checkbox. This is the appropriate behavior.
But, is it possible to prevent the row from being highlighted when the link is clicked? If so, how can I do it?
Nov 19, 2007, 13:28 #2
- Join Date
- Aug 2004
- Manchester UK
- 157 Post(s)
- 3 Thread(s)
What do you want to happen when the link is clicked?Mike Swiffin - Community Team Advisor
Only a woman can read between the lines of a one word answer.....
Nov 19, 2007, 13:43 #3
When the link is clicked a pop-up window opens and displays details about the link.
I don't want the user to check the box by clicking the link because it will lead to their confusion. ("wait, i just wanted to see the details and not check the box until after i have read the details")
Nov 29, 2007, 10:10 #4
Can anyone help with this?
Nov 29, 2007, 11:13 #5
- Join Date
- Apr 2006
- 0 Post(s)
- 0 Thread(s)
stop the event (click) from bubbling from the link's click handler,
or return false from the row click handler if the event target/srcElement is a link.