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

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WordPress RSS XMLRSS Feed - Syndicate this Site and comments feed
linux GNUpowered by Apache tomcatMySQL ABPHP - The Language the Web Runs on

^Top^ Gare CalhounGare CalhounGare CalhounGare CalhounGare Calhoun