EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
July 19, 2025, 09:01:12 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
>
Panel: data-options href not calling up page
Pages: [
1
]
« previous
next »
Print
Author
Topic: Panel: data-options href not calling up page (Read 3322 times)
drutech
Newbie
Posts: 2
Panel: data-options href not calling up page
«
on:
March 05, 2025, 11:53:50 AM »
This might just be me, but just confirming.
When setting up the data-options href for a panel, it doesn't load up the page.
I'm creating a page to run off my laptop, no local server and just using JavaScript.
Does this data-options only works when the page is on a severe? If not I'm not sure what is going on.
For testing, I'm using the code for panel href in Documentation on the EasyUI site. Running webpage from my laptop, it just shows loading and nothing else.
I'm guessing that this will work if the page was on a server?
Logged
jarry
Administrator
Hero Member
Posts: 2294
Re: Panel: data-options href not calling up page
«
Reply #1 on:
March 07, 2025, 01:05:34 AM »
Due to the CORS policy, the browser doesn't allow to load contents from different sites. So please set the 'href' page on the same page of your panel.
Logged
drutech
Newbie
Posts: 2
Re: Panel: data-options href not calling up page
«
Reply #2 on:
March 07, 2025, 09:12:58 AM »
Hi
Thank for the info.
I didn't know about the CORS policy and how Chrome handles it. It looks like Opera, Chrome, and Safari appear to not follow that idea but rather treat all file: URLs as cross-origin, even if they are in the same directory or sub-directly.
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...