它的照片根本就还没有上传,<input type=file>也是用了呀下面是它产生的HTML语言:
<IMG align=baseline alt="" border=0 hspace=0
src="file:///D:/Documents%20and%20Settings/Administrator/My%20Documents/同学照片/XXXXXX.jpg">
<IMG align=baseline alt="" border=0 hspace=0
src="file:///D:/Documents%20and%20Settings/Administrator/My%20Documents/同学照片/XXXXXX.jpg">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body bgcolor="#FFFFFF" text="#000000">
<iframe class="test" ID="test" MARGINHEIGHT="1" MARGINWIDTH="1" width="100%" height="240">
</iframe>
<input type="button" name="button" onclick="test.document.execCommand('InsertImage', true);" value="图片">
</body>
</html>你试试看,就这个效果吧
如果你真要求上传,就用上传组件或无组件上传代码去完成你所要的功能。
你不会是想把图片也放到数据库中吧
谢谢
[email protected]
满意就给粉结铁
谢谢
满意就给粉结铁