Assign Javascript image object directly to page

后端 未结 3 1229
伪装坚强ぢ
伪装坚强ぢ 2021-01-26 21:58

Is it possible to assign a Javascript image object directly to the DOM? Every example I\'ve seen has the image object being loaded and then the same file name assigned to an HTM

3条回答
  •  醉酒成梦
    2021-01-26 22:36

    See:

    
    
    
    
    
    
    
    
    
    

    Reference:

    http://www.techrepublic.com/article/preloading-and-the-javascript-image-object/5214317

提交回复
热议问题