button常用屬性 有幾種方法實(shí)現(xiàn)頁面的跳轉(zhuǎn),如何實(shí)現(xiàn)?
有幾種方法實(shí)現(xiàn)頁面的跳轉(zhuǎn),如何實(shí)現(xiàn)? 1# 響應(yīng)。重定向(“URL”)但是有一個(gè)缺陷。跳轉(zhuǎn)頁無法作為新窗口打開,需要重新打開u將其添加到本表1.Target=“ublank”2#string s
有幾種方法實(shí)現(xiàn)頁面的跳轉(zhuǎn),如何實(shí)現(xiàn)?
1# 響應(yīng)。重定向(“URL”)但是有一個(gè)缺陷。跳轉(zhuǎn)頁無法作為新窗口打開,需要重新打開u將其添加到本表1.Target=“ublank”
2#string strScript=“<script>窗口打開(" 訂單插入.aspx“,”uself“)</script>”registerclientscriptblock(”open“,strscript)可用于跳入。CS頁面;缺陷是跳轉(zhuǎn)后上一頁的URL丟失
3服務(wù)器傳輸樓上很清楚切斷。執(zhí)行我沒有嘗試過無恥的引用
示例://點(diǎn)擊圖片事件$(“img”)。單擊(function(){//單擊圖片后,將事件發(fā)送到指定頁面。window.location.href=“輸入指向另一頁的鏈接”;})