ajax跳转新页面 ajax跳转页面并传数据
~ 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名称名称数据库数据库数据库数据库数据库数据库数据库数据库数据库数据库“>: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是成功的或不成功的
ajax跳转页面并传数据 jquery跳转到新页面 js实现页面跳转并传值
版权声明:本文内容由互联网用户自发贡献,本站不承担相关法律责任.如有侵权/违法内容,本站将立刻删除。