<input typt="text" name="userName" width="20">
<a href="javascript:openUrl()">超连接</a></span></td>
<script>
function openUrl()
{
var temp = document.loginForm.userName.value;
window.location.href="abc.html?name="+temp;
}
</script>
<input typt="text" name="userName" width="20">
<a href="javascript:openUrl()">超连接</a></span></td>
<script>
function openUrl()
{
var temp = document.loginForm.userName.value;
window.location.href="abc.html?name="+temp;
}
</script>