<script language="javascript">
funtion sentto(){
if(document.all.radio1.value==1){
document.all.form1.action="ssss.asp"
}
else
document.all.form1.action="ttt.asp";
document.all.form1.submit;
</script>
funtion sentto(){
if(document.all.radio1.value==1){
document.all.form1.action="ssss.asp"
}
else
document.all.form1.action="ttt.asp";
document.all.form1.submit;
</script>
function choose(){
if(document.form1.searchkey.value=="product")
{
document.all.form1.action="psearch.asp";
document.all.form1.target="_blank";
document.all.form1.submit();
}
if(document.form1.searchkey.value=="news")
{
document.form1.action="news.asp";
document.form1.target="_blank";
document.form1.submit();
}
}
</script>
我写得跟你写得差不多啊,
<input type="submit" name="Submit" value="确 定" onclick="choose()">
点击后出现网页无法显示
网页地址不正确,因此您要寻找的网页无法显示。 --------------------------------------------------------------------------------请尝试下列操作:如果您在“地址”栏中键入了网页地址,请检查地址输入是否正确。打开 localhost 主页,寻找指向所需信息的链接。
HTTP 405 - 资源被禁止
Internet 信息服务