PDA

View Full Version : Help needed translating 4 lines of JQuery into MooTools code



denhamd2
06-13-2009, 08:59 PM
Hi,

I'm desperately hoping someone can help me with this. i've been using JQuery up until now but because a site I'm working is coded in Moo Tools, does anyone know how to translate these lines of JQuery into MooTools - please help!!!


$(document).ready(function(){
$("table.pdpagebuttons").addClass('hidebuttons');

$("table.pdpagebuttons").clone().appendTo("div.buttonscontainer");
$("div.buttonscontainer table.pdpagebuttons").removeClass('hidebuttons');

});