您的位置:首页 > 运维架构

onpropertychange不是input的有效属性

2011-09-03 19:55 155 查看
我用的是VS2005,怎么提示“验证(XHTML 1.0 Transitonal):属性onpropertychange不是元素input的有效属性”。

代码是:<input id="image" style="width: 310px; height: 22px" onpropertychange="preview.src=image.value" type="file" name="File1" runat="server"/>

<img id="preview" alt="" src="" style="width: 319px; height: 241px" enableviewstate="true"/>

浏览的图片不能在img中显示。

求解。谢谢
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: