효과는 다음과 같습니다.
페이지 a
점프 버튼을 클릭 한 후
해당 값은 B 페이지에서 얻을 수 있습니다.
코드는 다음과 같습니다.
페이지:
<! params.js> </script> <title> 페이지 </title> <cript> $ (function () {name = $ (#name) .text (); age = $ (#age) .text (); text (); text (); text (); text (); text (); text (); text (); text (); text (); text (); text (); text ( ); text (); text (); ) {url = b.html? /div> <div id = age> 23 </div> <button id = btn> 점프 회전 </button> </body> </html>Page B는 점프 할 :
<! params.js> </script> <title> b page </title> <cript> $ (function () {getData1 ();}); var age = $ .query.get (age); rext (#age);/script> </head> <body> <div id = name>. </div> <div id = age> </div> </body> </html>위는 Xiaobian이 도입 한 HTML 페이지 점프 전송 매개 변수입니다. VEVB WULIN 웹 사이트를 지원해 주셔서 대단히 감사합니다!