JS backgroundImage控制

复制代码 代码如下:

  function changeBgImage(obj){

  obj.style.cssText="background:url('2.gif') no-repeat 2 3";

  }