# AJAX not working correctly in player

**URL:** https://community.xibo.org.uk/t/ajax-not-working-correctly-in-player/7397
**Category:** Uncategorised Topics
**Created:** [October 5, 2016, 2:35pm UTC](https://community.xibo.org.uk/t/ajax-not-working-correctly-in-player/7397 "2016-10-05T14:35:19Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![louloizides](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/l/eb8c5e/32.png) [@louloizides](https://community.xibo.org.uk/u/louloizides)
#### Post date: [October 5, 2016, 2:35pm UTC](https://community.xibo.org.uk/t/ajax-not-working-correctly-in-player/7397/1 "2016-10-05T14:35:19Z")

</div>

I’m new to Xibo. I have a webpage that pulls data from another page via AJAX. We tested this in the preview and it looked ok. But in the player nothing happens. I ran Fiddler in the background and found that the AJAX page was never called. What is the best way to debug this?

---

<div class="post-metadata">

### Author: ![Peter](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/peter/32/8154_2.png) [@Peter](https://community.xibo.org.uk/u/Peter)
#### Post date: [October 5, 2016, 2:51pm UTC](https://community.xibo.org.uk/t/ajax-not-working-correctly-in-player/7397/2 "2016-10-05T14:51:33Z")

</div>

What version and what player (Windows/android) are you using please?

Could you let us know the web page url so we can try it on our devices here in the office?

---

<div class="post-metadata">

### Author: ![louloizides](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/l/eb8c5e/32.png) [@louloizides](https://community.xibo.org.uk/u/louloizides)
#### Post date: [October 5, 2016, 7:42pm UTC](https://community.xibo.org.uk/t/ajax-not-working-correctly-in-player/7397/3 "2016-10-05T19:42:27Z")

</div>

Unfortunately it’s not a cloud version, but I can post the html. I’m using jquery for the ajax. Not sure if that makes a difference. My query looks like:

$.get(“GetQMSChart.aspx?days=” + days, function (xmlData) {

But what’s the best way to debug?

---

<div class="post-metadata">

### Author: ![louloizides](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/l/eb8c5e/32.png) [@louloizides](https://community.xibo.org.uk/u/louloizides)
#### Post date: [October 6, 2016, 12:31pm UTC](https://community.xibo.org.uk/t/ajax-not-working-correctly-in-player/7397/4 "2016-10-06T12:31:43Z")

</div>

We updated to 1.7.9 and still no luck. But we did find something. We’re running these pages on a dual screen configuration. If we run it on a single screen everything works ok. So not sure what’s going on. Unfortunately we have two giant monitors set up so a single screen won’t work.

---

<div class="post-metadata">

### Author: ![Peter](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/peter/32/8154_2.png) [@Peter](https://community.xibo.org.uk/u/Peter)
#### Post date: [October 6, 2016, 2:22pm UTC](https://community.xibo.org.uk/t/ajax-not-working-correctly-in-player/7397/5 "2016-10-06T14:22:28Z")

</div>

So you will want to either

If those should be 2 separate displays:  
2 Xibo for Windows instances running on a single PC so this - [http://xibo.org.uk/manual/en/install\_windows\_client\_multiple.html](http://xibo.org.uk/manual/en/install_windows_client_multiple.html)  
You will need to open player option and change the Display ID, this way you will have two records in the CMS.  
The you will want to create new display profile with fixed location (offset) and assign it to second player.

If it’s extended display (I kind of doubt that)  
1 Xibo for Windows, custom display profile with resolution to match your two monitors, in this case layout would also need to match this resolution.

---

<div class="post-metadata">

### Author: ![louloizides](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/l/eb8c5e/32.png) [@louloizides](https://community.xibo.org.uk/u/louloizides)
#### Post date: [October 6, 2016, 3:06pm UTC](https://community.xibo.org.uk/t/ajax-not-working-correctly-in-player/7397/6 "2016-10-06T15:06:55Z")

</div>

Thanks will try… but would this address the issue of the AJAX not loading?
