prototype - delete table rows
To delete a table row with prototype:
javascript:Element.remove(tablerowdivname)
Also,
I set up some demos from various sources of other ways of manipulating tables They use these JavaScript functions and call various prototype based javascript.
function function1() {
document.all.myT.deleteRow(2);
}
function test(){
var d = $('myDiv');
alert(d.innerHTML);
d.hide();
d.show();
d.addClassName('active');
}
function function2(idname){
var d = $(idname);
alert(d.innerHTML);
d.hide();
d.addClassName('active');
}
using prototype-1.6.0.2.js from http://prototypejs.org/assets/2008/1/25/prototype-1.6.0.2.js
No Comments yet »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Powered by WordPress
RSS Feed - Syndicate this Site
and comments feed



