function SelectImg(url){
                document.all.item("ProductImg").src=document.getElementById("FileUpload1").value;
        }
<asp:FileUpload ID="FileUpload1" runat="server" onchange="SelectImg(this)"  />
posted on 2011-05-16 10:44  张@天  阅读(2285)  评论(1编辑  收藏  举报