I am trying to make som forms width dubble dropdown but i have som trouble with javascript, this work fine in firefox 4 & 5, but not in IE 8.xx
do someone know have to solved it.
Sekt.
window.addEvent('domready', function(){
var rows = $('fuglenogle').getElementsByTagName('optgroup');
for (i=0; i<rows.length; i++) {
rows[i].setAttribute('id','opt'+rows[i].getAttribute('label'));
rows[i].setStyle('display','none'); /* here is the error */
};
});
do someone know have to solved it.
Sekt.