Martin Honnen ha scritto:
Sorry, which is the difference?
>
myTd7a.onclick = function () { deleteRow(this) ; };
Done, but however i have the same problem...nothi ng is done and no
error appear...
I have also an "alert" into the function but is not executed. :-/
Use properties, not setAttribute:
myTd7.className = "adminfield ";
myTd7.className = "adminfield ";
myTd7a.setAttri bute("onclick", "javascript:del eteRow(this)");
myTd7a.onclick = function () { deleteRow(this) ; };
error appear...
I have also an "alert" into the function but is not executed. :-/
Comment