Forums

Chonoform 3.1, javascript

sekt 28 Jun, 2011
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

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.
GreyHead 29 Jun, 2011
Hi sekt,

Please post a link to the form so we can take a quick look.

Bob
This topic is locked and no more replies can be posted.