日期:2014-05-16  浏览次数:20386 次

这个链接怎么设置?
<input   type=text   name= "picurl "   value= 'http://www.csdn.net/images/logo_csdn.gif '>
<a   href= "picurl.value "> 查看 </a>

怎么让他打开这张图呀?

------解决方案--------------------
简单实现,L@_@K

<input type=text name= "picurl " value= 'http://www.csdn.net/images/logo_csdn.gif '>
<a href= "http://www.csdn.net/images/logo_csdn.gif " target= "_blank "> 查看 </a>
------解决方案--------------------
<input type= "text " name= "picurl " value= 'http://www.csdn.net/images/logo_csdn.gif ' />
<a href= "javascript:open(document.all.picurl.value);void(0) "> 查看 </a>
------解决方案--------------------
<input type=text name= "picurl " id= "txtImg " value= 'http://www.csdn.net/images/logo_csdn.gif '>
<a href= "# " onclick= "this.href=document.getElementById( 'txtImg ').value " target= "_blank "> 查看 </a>