1、帳號密碼輸入後無法跳轉頁面,一直停留在登錄頁面如何解決?
如果你IE和火狐試過都不行,而網頁可以正常瀏覽,說明你有可能中木馬了,在用戶登陸界面攔截你的輸入,建議下載360來殺一下木馬和病毒。
2、網頁登陸後無法跳轉
這個驗證的窗口是在同一個窗口還是新開的?
新開的窗口的話history.back()是不起作用的
3、js 問題 為啥我的登錄成功後 不跳轉網頁
你的 thisURL的值,永遠是你當前這個頁面的地址欄的值,
也就是說,如果你訪問 http://ymgs.hnccgc.com ,
就符合你判斷裡面的第一個case,然後地址欄會變成http://ymgs.hnccgc.com/S_Default_1.aspx;
如果S_Default_1.aspx頁面里也有一模一樣的js語句,就不會匹配任何case了,因為地址欄的值變了,沒有能匹配的上的。
但是你訪問的頁面,有這樣的js語句嗎,或者你輸入的訪問地址,有匹配的case嗎?
4、html製作登錄頁面,下面是代碼,運行後不能跳轉,沒反應,求大神幫忙!
第一個輸入框的「ip」=name不太對吧~~改成「id」
5、簡單JavaScript網頁跳轉問題,當我登錄成功後為啥不跳轉。 希望給出詳細代碼
沒有跳轉是因為你的返回值,返回值為字元串,並沒有進行賦值。
嘗試一下把return 去掉。
alert('登錄成功');6、網頁qq登陸登陸之後不跳轉,頁面錯亂沒有框架咋回事?
你確定是框架的問題?安裝框架後才出現的?安裝框架後你又安裝了什麼模塊?或是修改了一些什麼東西。這都要一一排查,不一定就是框架的問題
7、用電腦打開網頁時不跳轉登陸頁面怎麼辦?
清理瀏覽器的緩存。如果還不行就用系統自帶的網路修復(點擊網路的右鍵 裡面的疑難解答)。
8、html網頁登錄界面跳轉設計
下面列了五個例子來詳細說明,這幾個例子的主要功能是:在5秒後,自動跳轉到同目錄下的hello.html(根據自己需要自行修改)文件。
1) html的實現
<head>
<!-- 以下方式只是刷新不跳轉到其他頁面 -->
<meta http-equiv="refresh" content="10">
<!-- 以下方式定時轉到其他頁面 -->
<meta http-equiv="refresh" content="5;url=hello.html">
</head>
優點:簡單
缺點:Struts Tiles中無法使用
2) javascript的實現
<script language="javascript" type="text/javascript">
// 以下方式直接跳轉
window.location.href='hello.html';
// 以下方式定時跳轉
setTimeout("javascript:location.href='hello.html'", 5000);
</script>
優點:靈活,可以結合更多的其他功能
缺點:受到不同瀏覽器的影響
3) 結合了倒數的javascript實現(IE)
<span id="totalSecond">5</span>
<script language="javascript" type="text/javascript">
var second = totalSecond.innerText;
setInterval("redirect()", 1000);
function redirect(){
totalSecond.innerText=--second;
if(second<0) location.href='hello.html';
}
</script>
優點:更人性化
缺點:firefox不支持(firefox不支持span、div等的innerText屬性)
3') 結合了倒數的javascript實現(firefox)
<script language="javascript" type="text/javascript">
var second = document.getElementById('totalSecond').textContent;
setInterval("redirect()", 1000);
function redirect()
{
document.getElementById('totalSecond').textContent = --second;
if (second < 0) location.href = 'hello.html';
}
</script>
4) 解決Firefox不支持innerText的問題
<span id="totalSecond">5</span>
<script language="javascript" type="text/javascript">
if(navigator.appName.indexOf("Explorer") > -1){
document.getElementById('totalSecond').innerText = "my text innerText";
} else{
document.getElementById('totalSecond').textContent = "my text textContent";
}
</script>
5) 整合3)和3')
<span id="totalSecond">5</span>
<script language="javascript" type="text/javascript">
var second = document.getElementById('totalSecond').textContent;
if (navigator.appName.indexOf("Explorer") > -1) {
second = document.getElementById('totalSecond').innerText;
} else {
second = document.getElementById('totalSecond').textContent;
}
setInterval("redirect()", 1000);
function redirect() {
if (second < 0) {
location.href = 'hello.html';
} else {
if (navigator.appName.indexOf("Explorer") > -1) {
document.getElementById('totalSecond').innerText = second--;
} else {
document.getElementById('totalSecond').textContent = second--;
}
}
}
</script>
參考http://www.cnblogs.com/aszx0413/articles/1886819.html
9、調試了很久 顯示登入成功 但是一直不會跳轉到自己設計的那個網頁中。求大神幫我看看。
<body>關鍵就是return false
問題原因:冒泡事件