this is the code/

$('div.clearfix > label ~ textarea').wrap('<div class="input added" />'); 

how can i do this in MooTools? this is the code i tried.

$$('div.clearfix > label ~ textarea').wraps(new Element('div', 
{'class':'input added'}));

but still its not working.

thank you.. 



Reply via email to