<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic i also tried the following in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111537#M72526</link>
    <description>&lt;P&gt;i also tried the following upgraded my jquery file to version 3.1 &amp;nbsp;and added the following scripts within the project&lt;/P&gt;

&lt;PRE class="default prettyprint prettyprinted" style="margin-top: 0px; margin-bottom: 1em; padding: 5px; border: 0px; font-size: 13px; width: auto; max-height: 600px; overflow: auto; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; background-color: rgb(239, 240, 241); color: rgb(57, 51, 24); word-wrap: normal;"&gt;&lt;CODE style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; white-space: inherit;"&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;  &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(125, 39, 39);"&gt;&amp;lt;script&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;src&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"intelxdk.js"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(125, 39, 39);"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;
    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(125, 39, 39);"&gt;&amp;lt;script&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;src&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"xhr.js"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(125, 39, 39);"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; white-space: inherit;"&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(125, 39, 39);"&gt;i have also added the the domain within the network access as follows &lt;A href="http://myserver.com/*" target="_blank"&gt;http://myserver.com/*&lt;/A&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; white-space: inherit;"&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(125, 39, 39);"&gt;and still to no success. As stated before the code works fine within the simulator, desktop browser unfortunately not within app preview&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2016 21:28:20 GMT</pubDate>
    <dc:creator>Xavier_P_1</dc:creator>
    <dc:date>2016-10-20T21:28:20Z</dc:date>
    <item>
      <title>Ajax request problem</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111528#M72517</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Im a newbie and I have some problems with my app. When I click the button to make cross domain ajax request to the server side (not localhost) it works fine in the emulator, but it doesn't work on my phone in the intel app preview. I read other topics with the same problem and I haven't yet found a solution to this problem. Also there is&amp;nbsp;not enough information about it in the internet and i can't find ANY full and correct tutorial relative to server side requests step by step. Somebody has solved&amp;nbsp;similar problem with older versions of Cordova CLI but nobody writes how he did it. I installed intel xdk a few days ago and I really like it! It is easy to work with, but now I can't find out what is wrong with ajax requests. So, without communication with the outside world my app is usless and soon Im going to start design it with phonegap, because everybody writes that there is no same problem with it.&lt;/P&gt;

&lt;P&gt;I use 5.4.1 Cordova CLI version. I configured whitelist in build settings like so (*, http:\\*, https:\\*) and checked Cordova Android Whitelist (not Cordova Legacy) and it doesn't make sense if I write anything in the whitelist. It works in the emulator, but in the app preview it doesn't.&lt;/P&gt;

&lt;P&gt;Can anyone help me and describe step by step how to configure it correctly from start to the end? I just want to test a supersimple ajax request to my server and receive some data in the app preview to enshure that it will work after publishing.&lt;/P&gt;

&lt;P&gt;Thanks for answers and sorry for grammar :)&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 16:30:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111528#M72517</guid>
      <dc:creator>Boris_B_1</dc:creator>
      <dc:date>2016-04-30T16:30:59Z</dc:date>
    </item>
    <item>
      <title>No one can help me? Srsly?</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111529#M72518</link>
      <description>&lt;P&gt;No one can help me? Srsly?&lt;/P&gt;

&lt;P&gt;I have tried the same code with phonegap build and it works fine on my android device without any additional app preview software! Now I can make ajax requests and update information in my mobile app and it is great!&lt;/P&gt;

&lt;P&gt;It seems that intel xdk is little bit buggy. I tried a lot of things&amp;nbsp;to make it work&amp;nbsp;but to no avail.&amp;nbsp;I did not expect that&amp;nbsp;there will be such a problem with such basic things...&amp;nbsp;&lt;SPAN style="color: rgb(0, 0, 0); font-family: arial, sans-serif; font-size: 13px; line-height: normal; white-space: nowrap;"&gt;Goodbye, intel xdk!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 May 2016 11:26:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111529#M72518</guid>
      <dc:creator>Boris_B_1</dc:creator>
      <dc:date>2016-05-01T11:26:43Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111530#M72519</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I think that you don't give you enough time to test XDK. I'm using it from about a year and can solve any trouble I found with the help of this forum and searching the web.&lt;/P&gt;

&lt;P&gt;There are some aspects of the apps than work different when you are in Emulator, Debug, App Preview and builded apps. Unfortunately, you will need to dedicate some time to learn how these options work.&lt;/P&gt;

&lt;P&gt;About your problem, I can't say without more info, what kind of service are you calling by ajax?&lt;/P&gt;

&lt;P&gt;You say that phonegap build works. Did you try to build your app with XDK instead of using App Preview? I suspect that it will work too.&lt;/P&gt;

&lt;P&gt;Have some patience, you are asking something during a weekend. Intel's staff check the forum and reply usually very quickly on&amp;nbsp;Monday – Friday, 09:00 – 17:00 Pacific Time (GMT –7:00).&lt;/P&gt;

&lt;P&gt;Best wishes,&lt;/P&gt;

&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Sun, 01 May 2016 13:27:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111530#M72519</guid>
      <dc:creator>Diego_Calp</dc:creator>
      <dc:date>2016-05-01T13:27:03Z</dc:date>
    </item>
    <item>
      <title>Thank you for the answer.</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111531#M72520</link>
      <description>&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;what kind of service are you calling by ajax?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Does it really matter what kind of service Im trying to call by ajax? As I wrote above that I send a super simple ajax request and put received data to a div in my html page. It works fine in my browser on PC and in the emulator, but not in app preview.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;I can't say without more info&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;What information do you want to know exactly? I can post my code here.&lt;/P&gt;

&lt;P&gt;&lt;B&gt;This is my ajax request&lt;/B&gt;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;var url = 'https://control-borisko.c9.io/ajax-test/echo.php';
$.ajax ({
    url: url,
    type: "GET",
    dataType: "text",

    success: function(data){ $('.ajax-result').html("Request succeeded. Data: " + data); }, 
    error: function(xhr) { $('.ajax-result').html("Request error"); }
});&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;This is my server side code written in PHP&amp;nbsp;&lt;/STRONG&gt;(I use free vds, and it works only when I run it manually)&lt;/P&gt;

&lt;PRE class="brush:php;"&gt;&amp;lt;?php
   header('Content-type: text/html');
   header('Access-Control-Allow-Origin: *');
   echo 'Hello!';
?&amp;gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Also I configured whitelist&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="screen-1_0.jpg"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/8808iA00B62EC78403DDA/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="screen-1_0.jpg" alt="screen-1_0.jpg" /&gt;&lt;/span&gt;&lt;STRONG&gt;This is how it works&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="screen-2.jpg"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/8809i3CDF27B08B8F6A36/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="screen-2.jpg" alt="screen-2.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="screen-3_0.jpg"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/8810i3B10C15EFE459F20/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="screen-3_0.jpg" alt="screen-3_0.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="screen-4_0.jpg"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/8811i316F0B796552B803/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="screen-4_0.jpg" alt="screen-4_0.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Did you try to build your app with XDK instead of using App Preview?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;No, I didn't. I haven't got any certificates yet and it is quite &lt;/SPAN&gt;difficult&amp;nbsp;for me to understand the workflow at first time. I found out that the&amp;nbsp;easiest&amp;nbsp;way to test my app is to install app preview on my mobile device.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;So, what I want to say that there is no detailed tutorial about this stuff and&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;information base is very poor and that is why Im here.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Then I tried to build the same project with phonegap build (it does not require a &lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;certificate for android) and I installed my apk file on my mobile device and it works fine!&amp;nbsp;&lt;/SPAN&gt;I spent a few hours&amp;nbsp;to figure out how to do it with phonegap build and it was quite easy because there is detailed info about how to do it! In case of intel xdk &lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;I spent more than one day and do not have a result yet. I&lt;/SPAN&gt;t is disappointing.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;I'm using it from about a year and can solve any trouble&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;So, why don't you answer my question and give some working example with some details?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 May 2016 17:24:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111531#M72520</guid>
      <dc:creator>Boris_B_1</dc:creator>
      <dc:date>2016-05-01T17:24:38Z</dc:date>
    </item>
    <item>
      <title>Boris -- there have been</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111532#M72521</link>
      <description>&lt;P&gt;Boris -- there have been issues with jQuery 1.x and AJAX calls, in the latest versions of Cordova. For most people, simply changing to jQuery 2.x solves the problem. We have multiple posts regarding this issue in the forum.&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 19:00:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111532#M72521</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-05-02T19:00:22Z</dc:date>
    </item>
    <item>
      <title>Thank you very much! I</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111533#M72522</link>
      <description>&lt;P&gt;Thank you very much! I downloaded&amp;nbsp;jquery-2.2.3. It is working now. It is very&amp;nbsp;strange that I havn't found any info about it earlier.&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 20:09:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111533#M72522</guid>
      <dc:creator>Boris_B_1</dc:creator>
      <dc:date>2016-05-02T20:09:43Z</dc:date>
    </item>
    <item>
      <title>Thanks for this Paul.</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111534#M72523</link>
      <description>&lt;P&gt;Thanks for this Paul.&lt;/P&gt;

&lt;P&gt;You saved me from pulling my hair out!! :)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 13:21:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111534#M72523</guid>
      <dc:creator>Dennis_O_</dc:creator>
      <dc:date>2016-05-03T13:21:26Z</dc:date>
    </item>
    <item>
      <title>i checked my version of</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111535#M72524</link>
      <description>&lt;P&gt;i checked my version of jquery and i have installed&amp;nbsp;jQuery v2.1.4. I add my list of domains to the white list however my ajax call seems not to be triggered. it works perfectly on my desktop browser, within the simulator however during app preview it does not fire.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; $.ajax({url: 'https://www.myserver.com/api/login.php',&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data: {action : 'login', formData : $('#login_user').serialize()},&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type: 'POST', &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; async: 'true',&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dataType: 'json',&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; beforeSend: function() {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var opts={&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; message:"Please wait.......",&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; position:"tc",&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delay:2000,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; autoClose:true,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type:"error"&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $.afui.toast(opts);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 18:11:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111535#M72524</guid>
      <dc:creator>Xavier_P_1</dc:creator>
      <dc:date>2016-10-20T18:11:21Z</dc:date>
    </item>
    <item>
      <title>Xavier&gt; did you try with</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111536#M72525</link>
      <description>&lt;P&gt;Xavier&amp;gt; did you try with&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;jquery-2.2.3?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Insert 1 line in the code, before $.ajax, with "console.log('something');" and look the console. Confirm that the program pass by this point. Maybe an error, before the ajax call, is broking the program.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 19:31:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111536#M72525</guid>
      <dc:creator>Hamilton_Tenório_da_</dc:creator>
      <dc:date>2016-10-20T19:31:51Z</dc:date>
    </item>
    <item>
      <title>i also tried the following</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111537#M72526</link>
      <description>&lt;P&gt;i also tried the following upgraded my jquery file to version 3.1 &amp;nbsp;and added the following scripts within the project&lt;/P&gt;

&lt;PRE class="default prettyprint prettyprinted" style="margin-top: 0px; margin-bottom: 1em; padding: 5px; border: 0px; font-size: 13px; width: auto; max-height: 600px; overflow: auto; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; background-color: rgb(239, 240, 241); color: rgb(57, 51, 24); word-wrap: normal;"&gt;&lt;CODE style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; white-space: inherit;"&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;  &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(125, 39, 39);"&gt;&amp;lt;script&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;src&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"intelxdk.js"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(125, 39, 39);"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;
    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(125, 39, 39);"&gt;&amp;lt;script&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;src&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"xhr.js"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(125, 39, 39);"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; white-space: inherit;"&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(125, 39, 39);"&gt;i have also added the the domain within the network access as follows &lt;A href="http://myserver.com/*" target="_blank"&gt;http://myserver.com/*&lt;/A&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; white-space: inherit;"&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(125, 39, 39);"&gt;and still to no success. As stated before the code works fine within the simulator, desktop browser unfortunately not within app preview&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 21:28:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111537#M72526</guid>
      <dc:creator>Xavier_P_1</dc:creator>
      <dc:date>2016-10-20T21:28:20Z</dc:date>
    </item>
    <item>
      <title>Are you debugging in order to</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111538#M72527</link>
      <description>&lt;P&gt;Are you debugging in order to see any error message?&lt;/P&gt;

&lt;P&gt;Try insert these lines in your JS file:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;//ativar em caso de necessidade de entender algum erro
window.onerror = function (errorMsg, url, lineNumber, column, errorObj) {
    alert('Error: ' + errorMsg + ' Script: ' + url + ' Line: ' + lineNumber + ' Column: ' + column + ' StackTrace: ' +  errorObj);
 };&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 21:34:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111538#M72527</guid>
      <dc:creator>Hamilton_Tenório_da_</dc:creator>
      <dc:date>2016-10-20T21:34:39Z</dc:date>
    </item>
    <item>
      <title>this is what i did</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111539#M72528</link>
      <description>&lt;P&gt;this is what i did&lt;/P&gt;

&lt;P&gt;$(document).ready(function(){&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;window.onerror = function (errorMsg, url, lineNumber, column, errorObj) {&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; alert('Error: ' + errorMsg + ' Script: ' + url + ' Line: ' + lineNumber + ' Column: ' + column + ' StackTrace: ' + &amp;nbsp;errorObj);&lt;/P&gt;

&lt;P&gt;&amp;nbsp;};&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Thanks for the tip i implemented the call within my as suggested below and i got the following error&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Error:Uncaught TypeError: undefined is not a functionnscript: file://android_asset/overrideXMLHttpRequest.js Line:16&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Column: 69 StackTrace: TypeError: undefined is not a function&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;i am not sure &amp;nbsp;what this mean given that its only within the app preview this error is thrown&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 21:51:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111539#M72528</guid>
      <dc:creator>Xavier_P_1</dc:creator>
      <dc:date>2016-10-20T21:51:18Z</dc:date>
    </item>
    <item>
      <title>will try the jquery-2.2.3.min</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111540#M72529</link>
      <description>&lt;P&gt;will try the&amp;nbsp;jquery-2.2.3.min.js and let you know&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 22:02:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111540#M72529</guid>
      <dc:creator>Xavier_P_1</dc:creator>
      <dc:date>2016-10-20T22:02:24Z</dc:date>
    </item>
    <item>
      <title>Take a look at this FAQ &gt;</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111541#M72530</link>
      <description>&lt;P&gt;Take a look at this FAQ &amp;gt; &lt;A href="https://software.intel.com/en-us/xdk/faqs/debug-test#ajax-bad-return-code" target="_blank"&gt;https://software.intel.com/en-us/xdk/faqs/debug-test#ajax-bad-return-code&lt;/A&gt; &amp;lt; it might help.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 15:29:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111541#M72530</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-10-21T15:29:55Z</dc:date>
    </item>
    <item>
      <title>I cannot express how</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111542#M72531</link>
      <description>&lt;P&gt;I cannot express how greatfull i am to you&amp;nbsp;&lt;A href="https://software.intel.com/en-us/user/436096" style="font-size: 11px; background-color: rgb(238, 238, 238);"&gt;Paul F. (Intel)&lt;/A&gt;&amp;nbsp;. i have been researching the error for over a week and almost came to the conclusion to explore another IDE. i cannot believe the issue is something that could be solved that simple. just adding the&amp;nbsp;&lt;CODE class="plain" style="box-sizing: border-box; font-size: 14px; color: rgb(0, 0, 0); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; line-height: 1.1em !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important;"&gt;&amp;lt;&lt;/CODE&gt;&lt;CODE class="keyword" style="box-sizing: border-box; font-size: 14px; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; line-height: 1.1em !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; font-weight: bold !important; min-height: auto !important; color: rgb(0, 102, 153) !important;"&gt;head&lt;/CODE&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="plain" style="box-sizing: border-box; font-size: 14px; color: rgb(0, 0, 0); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; line-height: 1.1em !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important;"&gt;data-noxhrfix&amp;gt; &lt;/CODE&gt;&lt;SPAN style="font-size: 13.008px;"&gt;tag to my header allowed me to see the results of my ajax immediately. WoW&lt;/SPAN&gt;&lt;FONT color="#000000" face="Consolas, Bitstream Vera Sans Mono, Courier New, Courier, monospace"&gt;&lt;SPAN style="font-size: 14px;"&gt;.. Many thanks to you and your team however you do need to document this issues so other persons can reference it.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 16:11:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111542#M72531</guid>
      <dc:creator>Xavier_P_1</dc:creator>
      <dc:date>2016-10-21T16:11:02Z</dc:date>
    </item>
    <item>
      <title>Thank you very much Paul F.</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111543#M72532</link>
      <description>&lt;P&gt;Thank you very much&amp;nbsp;&lt;A href="https://software.intel.com/en-us/user/436096" style="font-size: 12px;"&gt;Paul F. (Intel)&lt;/A&gt;, you helped me a lot.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Muchas gracias&amp;nbsp;&lt;A href="https://software.intel.com/en-us/user/1488072" style="font-size: 11px; background-color: rgb(238, 238, 238);"&gt;Xavier P.&lt;/A&gt;, vaya chorrada !!!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 20:02:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-problem/m-p/1111543#M72532</guid>
      <dc:creator>José-Ignacio_B_</dc:creator>
      <dc:date>2016-11-30T20:02:27Z</dc:date>
    </item>
  </channel>
</rss>

