[jQuery] OT: Cancel event's default action in Firefox
Hi,
I am working on a jquery plugin that highligths rows in a table.
The user can press the 'ctrl' key and then mouse click on a
specific rows in order to hightlight them. Ex
<table>
<tr><td>one</td><tr>
<tr><td>two</td><tr>
<tr><td>three</td></tr>
</table>
Question: In firefox(1.5.0.9 or 2.0.0.1), if I press the 'ctrl' key and then left mouse click on a row, the browser places a blue border around the <td> element. Is there a way to prevent this blue border? MSIE7 does not have this problem.
Can jquery call a handler in the 'capture phase' and apply a css to prevent this blue border. I know this is a browser specific problem. Thank you
_______________________________________________
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/