您的位置:首页 > 产品设计 > UI/UE

<input id="type" value="1"> 跳转中...<br>

2017-10-24 10:53 447 查看
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

  <head>

    <base href="http://localhost:8080/CloudPlatform/">

    

    <title>跳转页面</title>

    
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">    
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

  </head>

  

  <body>

  <input id="type" value="1">

    跳转中...<br>

  </body>
<script type="text/javascript">
function myLocation(){
var input = document.getElementById("type");
var value = input.value;
if(value && value=="2"){
window.top.location.href="login.html";
}else{
window.top.location.href="index.html";
}
}
myLocation();
</script>

</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐