Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jscroll can not load html using ajax (cross domain) #154

Open
polapolo opened this issue Aug 1, 2018 · 0 comments
Open

jscroll can not load html using ajax (cross domain) #154

polapolo opened this issue Aug 1, 2018 · 0 comments

Comments

@polapolo
Copy link

polapolo commented Aug 1, 2018

I get this error when ajax from different subdomain.

Failed to load https://www.idntimes.com/ajax/notification-page?page=1: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://community.idntimes.com' is therefore not allowed access. The response had HTTP status code 404.

How can I inject jquery ajax options:

xhrFields: {
    credentials: true
}

into jscroll?

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant