Just a quick tip for getting the selected option optgroup label using Mootools:
The HTML:
<select id="transport">
<optgroup label="Cars">
<option>Ford</option>
<option>BMW</option>
<option>Mercedes</option>
</optgroup>
<optgroup label="Motorbikes">
<option>Honda</option>
<option>Yamaha</option>
<option>BMW</option>
</optgroup>
</select>
Mootools JavaScript:
// get optgroup label of selected option on change
document.id("transport").addEvent("change",function(){
var optGroup=this.getSelected().getParent("optgroup").get("label");
// do something with the label
alert(optGroup);
})





Every now and then you get a client that absolutely insists on having a “
A short while ago I wrote a
Following on from my previous post demonstrating my 
I am currently working on a project where the administrator needs to be able to upload any number of items within one master project.
Suprisingly, I couldn’t find anything in google (using the mootools library) similar to what I needed so, always up for the challenge, I decided to code one myself.