ajax跳轉(zhuǎn)新頁面 ajax跳轉(zhuǎn)頁面并傳數(shù)據(jù)
~ After JSX/AJAX is submitted successfully,jump in the following ways:1??windows.location.href俄文。loc
~ After JSX/AJAX is submitted successfully,jump in the following ways:1??windows.location.href俄文。location.href俄文。Previous page Jump:parent.location.href俄文。The outermost page Jump:top.location.href“For example:if a,B,C and D are all JSPS,D is the iframe of C,C is the iframe of B,and B is the iframe of a,如果JS in D是written like this”windows.location.href俄文。location.href“D page Jump”parent.location.href“C page Jump”top.location.href《如果有一個格式在D page》,< form>:after the form is submitted??D page Jump< formtarget=“臥臥臥龍龍”::>:一新page將pop up after the form is submitted< formformtarget=臥臥式<formformtarget名稱名稱名稱名稱?“>:新的page will pop up up aftthe form is submitted< formformformformformformformtarget名稱名稱數(shù)據(jù)庫數(shù)據(jù)庫數(shù)據(jù)庫數(shù)據(jù)庫數(shù)據(jù)庫數(shù)據(jù)庫數(shù)據(jù)庫數(shù)據(jù)庫數(shù)據(jù)庫數(shù)據(jù)庫“>:C page Jump aftform form submission< formformformtartarget====“(“>:aftthe form the form是submitted,a page jumps,
x,save the data in PHP and executethe jump.html.!the second method is to use the success callback method of Ajax,windows.location.href=跳到地址。!第三是addwindows.location.hrefWhether AJAX是成功的或不成功的