Trying to get this (simple!) jQuery expression to work in Mootools
Jquery:
checkCurrentModule = function(){
jQuery(".module ul li.current").prepend("<b class='arrow'></b>");
};
And here is my attempt at it in Mootools
var checkCurrentModule = function(){
var injectModuleli = $$("li.current");
var currentArrow = new Element("<b class='arrow'></b>");
currentArrow.inject(injectModuleli);
};
Working example: http://jsfiddle.net/NGjgV/