代码有很多个JS文件,我不知道该帖哪个?
访问http://hpo.sportsgg.com/WebLottery/ResultCal/Cal.aspx?tp=w
然后另存到本地。我需要的是另存到本地的文件能在IE里正常运作。

解决方案 »

  1.   

    执行这个函数出错
    function Show(obj)
    {
    if( obj == null )return;
    var pCell = obj.parentElement;
    var pRow = pCell.parentElement;
    var rowIndex = pRow.rowIndex;
    var tblShow = GetObj('Tbl2');
    var showNums = countShowRows('Tbl2');

    if( showNums >= 6 && tblShow.rows[rowIndex].runtimeStyle.display!="")
    {
    alert('只能选择6场比赛进行投注计算!');
    return false;
    } if( tblShow.rows[rowIndex].runtimeStyle.display !="none" )
    {
    if( pCell.className == 'SELED' )
    {
    pCell.className = 'NOSEL';
    tblShow.rows[rowIndex].cells[pCell.cellIndex-1].children[0].checked = false;
    var has = false;
    for( i=5;i<tblShow.rows[1].cells.length;i++)
    {
    if( tblShow.rows[rowIndex].cells[i].children[0].checked )
    {
    has = true;
    break;
    }
    }
    if( !has ) tblShow.rows[rowIndex].runtimeStyle.display="none";
    }
    else
    {
    pCell.className = 'SELED';
    tblShow.rows[rowIndex].cells[pCell.cellIndex-1].children[0].checked = true;
    }
    }
    else
    {
    pCell.className = 'SELED';
    tblShow.rows[rowIndex].runtimeStyle.display="";
    tblShow.rows[rowIndex].cells[pCell.cellIndex-1].children[0].checked = true;
    }
    showNums = countShowRows('Tbl2');
    ShowVoteType(showNums);
    }
      

  2.   

    用ajax可以的~
    取到数据后按规定显示出来就行了 不麻烦自己写个
      

  3.   

    错误似乎出在tblShow.rows[rowIndex].runtimeStyle.display
    请教各位,这是server端完成的吗?
      

  4.   

    你试试
    tblShow.rows[rowIndex].style.display="none";table应该没有runtimeStyle属性