XMLHttpRequest cannot load

QuestionsXMLHttpRequest cannot load
Don Mangold asked 10 years ago

We are running our web page using https and some of the grid pages are executing as http. The results are it violates the cross domain restrictions that most browsers are enforcing. Is there a setting to propagate the source URL to be used throughout the grid including the https protocol?

Thanks

1 Answers
Abu Ghufran answered 10 years ago

By default grid uses same protocol for ajax that is used when loading page.
You can also specify:

$opt["url"] = "https://…………………..page.php";
$g->set_options($opt);

This way, it will be forced to use that url for ajax calls.

Your Answer

10 + 9 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?