我的DIV上还要放其他控件的,所以没用IMG

解决方案 »

  1.   

    document.Form1.Div2.style.backgroundImange注意大小写
      

  2.   

    document.Form1.Div2.style.backgroundImage
    呵呵,Image也拼错了
      

  3.   

    document.Form1.Div2.style.BackgroundImange="url(image/au.gif)";
    -------^^^^--------------------------------DIV不是Form的元素document.all('Div2').style.backgroundImage="url(image/au.gif)";