用javascript实现给图片加链接


<script>
var strVariable = "<img src='http://www.phpstudy.net/images/logo.gif'>";
strVariable = strVariable.link("http://www.phpstudy.net");
document.write(strVariable)
</script>

« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3