Hi,
I added a jquery onclick eventhandler to the table as follows
$('#tableid').bind('click', ClickHandler);
function ClickHandler(event) {
//here i am checking whether the cell that the user clicked is valid to enter data.
//if not, I would like to cancel the event.
e.preventDefault(); //this is not working. the cell that the user clicked still has focus.
return false; //this is also not working. the cell that the user clicked still has focus.
}
How do I cancel the click event on a table?