请输入图片地址:<input type="text" name="myface" size="30" value="" onpropertychange="document.images['face'].src=this.value;"><br><br>
<img id="face" src="/img/common/logo.gif" border="" alt="">
本文介绍了一种通过用户输入图片地址实时更新页面中图片显示的技术实现方法。该技术利用HTML与JavaScript结合,使得用户可以在输入框中直接输入图片地址,页面上的图片随即进行更新。
请输入图片地址:<input type="text" name="myface" size="30" value="" onpropertychange="document.images['face'].src=this.value;"><br><br>
<img id="face" src="/img/common/logo.gif" border="" alt="">

被折叠的 条评论
为什么被折叠?