How to get a image in my JS project directly?

Posted by jin on Stack Overflow See other posts from Stack Overflow or by jin
Published on 2010-03-19T03:03:23Z Indexed on 2010/03/19 3:11 UTC
Read the original article Hit count: 147

I want to develop a extension for firefox. Now I add a image in my project, and I want to use it in my js.because my element is created dynamic,so I didn't get it from xul file. How to get the Image in JS directly?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about firefox