62,623
社区成员
发帖
与我相关
我的任务
分享
<html>
<script language = "javascript" >
function changeURL(){
document.getElementById("urllink").href="http://www.163.com";
}
</script>
<body>
<input type="button" value="网易" onclick="javascript:changeURL()">
<a id="urllink" href="http://www.sina.com">新浪</a>
</body>
</html>