ChrisQuick
Programmer
I've got a html table that gets written out to a preliminary results page based on a database search done with ASP.
The HTML table only visually displays three columns, but the SQL statement pulls down a total of ten columns. The full amount of data is written into a populateSearch Function. The function takes the information and throws the data to a from in a different frame. I am triggering the function using the OnMouseDown event on the table row or <TR> like this:
<tr bgcolor="silver" onmouseover="this.style.background='yellow'" onmouseout="this.style.background='silver'" onMouseDown="populateSearch('a','b','c','d'etc..');">
The problem is, this works with both the left and right mouse bottons. I only want to use the left button to trigger the function, and ignore right clicks but WITHOUT disabling right clicks altogether or altering the default behavior for it.
Any ideas?
The HTML table only visually displays three columns, but the SQL statement pulls down a total of ten columns. The full amount of data is written into a populateSearch Function. The function takes the information and throws the data to a from in a different frame. I am triggering the function using the OnMouseDown event on the table row or <TR> like this:
<tr bgcolor="silver" onmouseover="this.style.background='yellow'" onmouseout="this.style.background='silver'" onMouseDown="populateSearch('a','b','c','d'etc..');">
The problem is, this works with both the left and right mouse bottons. I only want to use the left button to trigger the function, and ignore right clicks but WITHOUT disabling right clicks altogether or altering the default behavior for it.
Any ideas?