Hello,
I am trying to make a form dynamic using mootools 1.11, for specific reasons I cannot upgrade atm.
I'm trying to manipulate a select field to have dynamic options. This works in Firefox & Chrome but not IE8. Hope there's a fix for this.
bits of the code:
myOptions(hrs+1, 23, 'uur');
$('vertrektijd_uur').setHTML('<option value="">Kies uur</option>'+options_uur);
$('vertrektijd_uur').addEvent('change', function() {
hrsChanged = $('vertrektijd_uur').getValue();
hrsChanged = parseInt(hrsChanged);
if(hrs+1 == hrsChanged)
{
myMinutes(parseInt(min));
myOptions(minChanged, 55, 'min');
$('vertrektijd_min').setHTML('<option value="">Kies minuten</option>'+options_min);
}
else
{
myOptions(0, 55, 'min');
$('vertrektijd_min').setHTML('<option value="">Kies minuten</option>'+options_min);
}
});