<?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'm assuming you are testing in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/script-not-runXDK-HTML5-CORDOVA/m-p/1064848#M55759</link>
    <description>&lt;P&gt;I'm assuming you are testing this in the Simulate tab. I recommend you use console.log() messages not alerts to test this. You might have a&amp;nbsp; problem with the function definition. Try defining inizia() this way, instead:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;var inizia = function() {
    ...your code here...
} ;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2016 19:27:18 GMT</pubDate>
    <dc:creator>PaulF_IntelCorp</dc:creator>
    <dc:date>2016-10-25T19:27:18Z</dc:date>
    <item>
      <title>script not runXDK HTML5 CORDOVA</title>
      <link>https://community.intel.com/t5/Software-Archive/script-not-runXDK-HTML5-CORDOVA/m-p/1064847#M55758</link>
      <description>&lt;P&gt;Good Morning,&lt;/P&gt;

&lt;P&gt;I created an App with HTML5 and Cordova and I set a javascript function in the body onload but does not enter there.&lt;/P&gt;

&lt;P&gt;I installed the last version of XDK and that work fine on old version.&lt;/P&gt;

&lt;P&gt;this is extract of code not working&lt;/P&gt;

&lt;P&gt;&amp;lt;body onload="inizia();" style="background-color: #ffffff"&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;lt;script&amp;gt;&lt;SPAN class="Apple-tab-span" style="font-size: 1em; white-space: pre;"&gt; &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;function inizia() {&lt;SPAN class="Apple-tab-span" style="font-size: 1em; white-space: pre;"&gt; &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;alert('1');&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp;document.addEventListener("deviceready", onDeviceReady,false) ;&lt;/P&gt;

&lt;P&gt;If I insert a alert direct in onload work corretly&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;lt;body onload="alert('1');" style="background-color: #ffffff"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I have move the script code in the head tag but the problem persist&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 16:06:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/script-not-runXDK-HTML5-CORDOVA/m-p/1064847#M55758</guid>
      <dc:creator>Paolo_p_3</dc:creator>
      <dc:date>2016-10-25T16:06:49Z</dc:date>
    </item>
    <item>
      <title>I'm assuming you are testing</title>
      <link>https://community.intel.com/t5/Software-Archive/script-not-runXDK-HTML5-CORDOVA/m-p/1064848#M55759</link>
      <description>&lt;P&gt;I'm assuming you are testing this in the Simulate tab. I recommend you use console.log() messages not alerts to test this. You might have a&amp;nbsp; problem with the function definition. Try defining inizia() this way, instead:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;var inizia = function() {
    ...your code here...
} ;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 19:27:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/script-not-runXDK-HTML5-CORDOVA/m-p/1064848#M55759</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-10-25T19:27:18Z</dc:date>
    </item>
  </channel>
</rss>

