Questo è lo script... se lo provo su firefox non da problemi di sorta, invece con ie sembra ignorarlo completamente

Vi serve anche l'html per poter dare qualche consiglio? credo che sia un po' incasinato... fatemi sapere che magari lo posto

Grazie in anticipo

Codice PHP:
function Chked(questo,del//permette di identificare quale record è stato selezionato con la sua chkbox
{
    var 
chkhdn=document.getElementsByTagName('input');
    
    
j=0;
    
    for(
i=0chkhdn.lengthi++)
    {
        if (
chkhdn.item(i).getAttribute('id') == 'record')
        {
            
chk chkhdn.item(i);
            
hdn chkhdn.item(i+1);
            if (
chk.checked == true)
            {
                
j++;
                
hdn.value='chekkato';
            }
            else
            {
                
hdn.value='nonchekkato';
            }
        }
    }
    
    if (
j>0)
    {
        
del.disabled=false;
    }
    else
    {
        
del.disabled=true;    
    }

del è il pulsante e questo è la chkbox corrente