<?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 You're using jQuery but have in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Button-Clicks-Events-do-not-work/m-p/1069483#M57597</link>
    <description>&lt;P&gt;You're using jQuery but have not included the jQuery library in your app. You need to download and add it to your app and then make sure to include it in the list of JS libs you include in your index.html file.&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 21 Nov 2015 06:11:46 GMT</pubDate>
    <dc:creator>PaulF_IntelCorp</dc:creator>
    <dc:date>2015-11-21T06:11:46Z</dc:date>
    <item>
      <title>Button Clicks/ Events do not work</title>
      <link>https://community.intel.com/t5/Software-Archive/Button-Clicks-Events-do-not-work/m-p/1069482#M57596</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I'm new to this and I try to build an app.&lt;/P&gt;

&lt;P&gt;This is in my index.html header:&lt;/P&gt;

&lt;PRE class="brush:xml;"&gt;        &amp;lt;script src="intelxdk.js"&amp;gt;&amp;lt;/script&amp;gt;
        &amp;lt;script src="cordova.js"&amp;gt;&amp;lt;/script&amp;gt;
        &amp;lt;script src="xhr.js"&amp;gt;&amp;lt;/script&amp;gt;
        &amp;lt;script src="xdk/init-dev.js"&amp;gt;&amp;lt;/script&amp;gt;
        &amp;lt;script src="js/app.js"&amp;gt;&amp;lt;/script&amp;gt;
        &amp;lt;script src="js/init-dev.js"&amp;gt;&amp;lt;/script&amp;gt;
        &amp;lt;script src="js/init-app.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/PRE&gt;

&lt;P&gt;And this in my init-app.js:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;app.initEvents = function () {
    "use strict";
    var fName = "app.initEvents():";
    app.consoleLog(fName, "entry");

    app.initDebug();           // just for debug, not required; keep it if you want it or get rid of it
    app.hideSplashScreen();    // after init is good time to remove splash screen; using a splash screen is optional

    $(".quitApp").bind("click", exitFromApp); //Click on exit button

    $("#refreshWeather").bind("click", getWeatherData); //Click on "refresh weather"
    document.addEventListener("intel.xdk.device.remote.data", getRemoteDataEvent, false); //refresh the data

    document.addEventListener("backbutton", exitFromApp, false); //also quit app when pressing back button

    app.consoleLog(fName, "exit");
};&lt;/PRE&gt;

&lt;P&gt;So and a part of the app.js:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;function exitFromApp()
{
    navigator.app.exitApp();
}&lt;/PRE&gt;

&lt;P&gt;Everything else is just standard setting. My problem is, that when testing in Emulator or Testing onnmy real device, nothing happens on Back Button or when clicking the Exit Button. Did I forget something? I'm really confused.&lt;/P&gt;

&lt;P&gt;Thanks for help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2015 15:26:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Button-Clicks-Events-do-not-work/m-p/1069482#M57596</guid>
      <dc:creator>Markus_W_1</dc:creator>
      <dc:date>2015-11-16T15:26:31Z</dc:date>
    </item>
    <item>
      <title>You're using jQuery but have</title>
      <link>https://community.intel.com/t5/Software-Archive/Button-Clicks-Events-do-not-work/m-p/1069483#M57597</link>
      <description>&lt;P&gt;You're using jQuery but have not included the jQuery library in your app. You need to download and add it to your app and then make sure to include it in the list of JS libs you include in your index.html file.&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2015 06:11:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Button-Clicks-Events-do-not-work/m-p/1069483#M57597</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-11-21T06:11:46Z</dc:date>
    </item>
  </channel>
</rss>

