<?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 Hi Paul F. Thank you for in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Ajax-request-error/m-p/1081230#M61716</link>
    <description>&lt;P&gt;Hi Paul F. Thank you for giving some source. I have tried all the possible way indicated there. But it seems that it is different on my part! It's weird. I tried to upgrade/downgrade the Cordova version, linked the jquery v2, but same error. I tried to build my app then install on my andriod phone and to my surprise it work smoothly. I think and therefore conclude that the "Debug" tab was not working well, and I am continue developing my app using the emulate tab. Not using the debug tab because it kills my time. :D&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jun 2016 07:22:51 GMT</pubDate>
    <dc:creator>xkevin</dc:creator>
    <dc:date>2016-06-02T07:22:51Z</dc:date>
    <item>
      <title>Ajax request error</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-error/m-p/1081228#M61714</link>
      <description>&lt;P&gt;I got this error on debug mode:&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="" src="http://s33.postimg.org/dfnem4i7j/Capture.jpg" /&gt;&lt;BR /&gt;
	And the Error on alert is: "parsererror SynthaxError: Unexpected end of input".&lt;BR /&gt;
	I search for the error on google but it doesnt fixed my problem.&lt;/P&gt;

&lt;P&gt;This my code:&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;        $.ajax({
                       type: "POST",
                        url: "http://www.example.com/login_user.php",
                        crossDomain: true,
                        dataType: 'json',
                        data: $.trim(frm.serialize()),
                        beforeSend: function() {
                            $('#loader').css({
                                display: "block"
                            });
                        },
                        success: function(data, status, XHR) {
                            console.log("result is " + data);
                            handleData(data);
                        },
                        error: function(httpReq, status, exception) {
                            alert( status + " " + exception);
                            $('#loader').css({
                                display: "none"
                            });
                       }
});

function handleData(responseData) {
                var access = responseData;

                if (access == "real") {
                    alert("Welcome");
                    location.href = "home.html";
                    $('#loader').css({
                        display: "none"
                    });


                } else {
                    alert("Your username and password didn\'t match.");
                    $('#input_password').val('');
                    $('#loader').css({
                        display: "none"
                    });
                }
                console.log(responseData);
            }&lt;/PRE&gt;

&lt;P&gt;The server will only send or respond "real" for good access or "not real" for bad access detail.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 04:08:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-error/m-p/1081228#M61714</guid>
      <dc:creator>xkevin</dc:creator>
      <dc:date>2016-06-01T04:08:48Z</dc:date>
    </item>
    <item>
      <title>See this FAQ, it might help &gt;</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-error/m-p/1081229#M61715</link>
      <description>&lt;P&gt;See this FAQ, it might help &amp;gt; &lt;A href="https://software.intel.com/en-us/xdk/faqs/app-designer#ajax-jquery-one-fail" target="_blank"&gt;https://software.intel.com/en-us/xdk/faqs/app-designer#ajax-jquery-one-fail&lt;/A&gt; &amp;lt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 17:40:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-error/m-p/1081229#M61715</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-06-01T17:40:20Z</dc:date>
    </item>
    <item>
      <title>Hi Paul F. Thank you for</title>
      <link>https://community.intel.com/t5/Software-Archive/Ajax-request-error/m-p/1081230#M61716</link>
      <description>&lt;P&gt;Hi Paul F. Thank you for giving some source. I have tried all the possible way indicated there. But it seems that it is different on my part! It's weird. I tried to upgrade/downgrade the Cordova version, linked the jquery v2, but same error. I tried to build my app then install on my andriod phone and to my surprise it work smoothly. I think and therefore conclude that the "Debug" tab was not working well, and I am continue developing my app using the emulate tab. Not using the debug tab because it kills my time. :D&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 07:22:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ajax-request-error/m-p/1081230#M61716</guid>
      <dc:creator>xkevin</dc:creator>
      <dc:date>2016-06-02T07:22:51Z</dc:date>
    </item>
  </channel>
</rss>

