如何使用Java脚本将图像传输到具有图片属性的任何对象 [英] how to transfer the image to any object with picture property using java script

查看:146
本文介绍了如何使用Java脚本将图像传输到具有图片属性的任何对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好alll
捕获图像后,如何使用Java脚本将图像转移到具有图片属性的图像控件中

hello alll
After capturing the image,how to transfer the image to image control with picture property using java script
plzzzzzzz help me.

推荐答案

捕获图像"是什么意思?从哪里来的?

您可以使用javascript查找img控件,甚至创建一个并将其添加到现有控件中.然后,您可以设置其属性,从而将源设置为本地或服务器上文件的URL.但是,您无法从Web应用程序中的任何位置捕获图像,而不是使用javascript.
What do you mean by ''capturing the image'' ? Where from ?

You can use javascript to find an img control, or even to create one and add it to an existing control. You can then set it''s properties, and thus set the source to be a URL to the file locally or on the server. But, you can''t capture images from anywhere in a web app, not with javascript.


这篇关于如何使用Java脚本将图像传输到具有图片属性的任何对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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