hello, i'm currently having a problem in putting a "onmousedown" attribute to my table rows... this is my code:
var x = document.getElementById('table_1').insertRow (document.getElementById('table_1').rows.length);
if(window.Event) x.onmousedown = function(event) { return checkRow (this, event); }
else x.onmousedown = function(event) { return checkRow (this, event); }
it doesn't work! my function is not being called
how do i fix this? thanks!!!
NOTE: currently, all of the above are enclosed in a
string because i insert it in a browser.execute (<javascript string of code>
function to run it. do you think that has an effect? thanks!!!