使用javascript显示html图像 [英] Show an image in html using javascript

查看:90
本文介绍了使用javascript显示html图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用javascript代码在html文件中显示图像.我不知道要这么做如果可以的话请帮助我.谢谢

I want to show an image in html file Using a javascript code. I don''t know to do it. If you can please help me. Thanks

推荐答案

仅显示图像,此StackOverflow问题将为您提供答案:

http://stackoverflow.com/questions/5451445/how-to-display-image- with-javascript [^ ]

如果您想做一些比这更复杂的事情,请告诉我.
To just display an image, this StackOverflow question will give you the answer:

http://stackoverflow.com/questions/5451445/how-to-display-image-with-javascript[^]

If you are looking to do something more complicated than that, please let me know.


这篇关于使用javascript显示html图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆