Code: Select all
var myfnc3 = "mouseclick_table("+id+")";
house.setAttribute("onclick",myfnc3);
function mouseclick_table(id){
table = document.getElementById(id);
table.setAttribute("border" ,"1");
table.setAttribute("bordercolor","#003366");
}in that table, in one cell i have a link
Code: Select all
<a href = "javascript: somefunction()">thanks