var nextRow = tbl.tBodies[0].rows.length;
var row = tbl.tBodies[0].insertRow(nextRow);
row.setAttribute('ondblclick', "return move_to_x_graph();");
this code will add a double click event on row.. Right.. But the thing is its not working in case of internet explorer.Its workin fine in case of all the other browsers..
For adding style i am handling this:
var cell2 = row.insertCell(1);
var browser=navigator.appName; if(browser == "Microsoft Internet Explorer") { cell2.style.setAttribute("cssText", "color:black; width:300px;");
}else { cell2.setAttribute("style", "color:black; width:300px;");
}
can any body help me how to add double click event using javascript that will also work in internet explorer??