Ringing in my ears - "Don't use Tables" - but I have.
I've got a table containing various cells and if the user clicks any part of the table it acts like a link:
However, in one of the cells of the table is a textbox allowing people to leave a comment regarding the content of the table. At the moment they can't enter anything into the textbox because clicking within it triggers the onClick event for the entire table.
Is there a way I can get it so that clicking in the textbox overrides the onClick of the table?
- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments
I've got a table containing various cells and if the user clicks any part of the table it acts like a link:
Code:
<table style='cursor: hand;' onmouseover="this.bgColor='#FFECD9'" onmouseout="this.bgColor='#FFECB9'" onClick="window.location='bigpage.php?topicid=25'">
However, in one of the cells of the table is a textbox allowing people to leave a comment regarding the content of the table. At the moment they can't enter anything into the textbox because clicking within it triggers the onClick event for the entire table.
Is there a way I can get it so that clicking in the textbox overrides the onClick of the table?
- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments