:: Forum >> Version 1 >>
remove row when pressed DEL
More information on this topic is available in the documentation section:
/active.howto.style.rows/.
I want to remove a row when I press del. The best way to do so is to set "display" on "none", but I can't find out how to access the row only.
I've got this atm:
obj.setEvent("onkeydown", readChar);
function readChar(e) {
var key = e.keyCode;
switch(key) {
case 46:
answer = confirm("Are you sure ?");
if (answer) {
e.setStyle("display", "none"); // This doesn't work ;)
}
break;
}
}
document.write(obj);
Sunday, November 6, 2005
This topic is archived.
Back to /active.howto.style.rows/
Documentation:
Forum search