EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 11, 2024, 06:31:02 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Navigation in different pages
Pages: [
1
]
« previous
next »
Print
Author
Topic: Navigation in different pages (Read 2737 times)
officecode
Jr. Member
Posts: 69
Navigation in different pages
«
on:
June 06, 2019, 11:57:56 PM »
For example, #p1 in page1, how to use $.mobile to navigate to #p2 in page2?
Try the following code, invalid:
Code:
$.mobile.go('page2.html#p2')
Thank you.
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: Navigation in different pages
«
Reply #1 on:
June 08, 2019, 04:17:56 AM »
You can't do that. The javascript code runs in different pages. You have to navigate to the page2 and then call $.mobile.go to change the navpanel.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...