<?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 If it is the &amp;quot;Sprite Button&amp;quot; in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Change-href-of-sprite-button-in-JavaScript/m-p/1017273#M36687</link>
    <description>&lt;P&gt;If it is the "Sprite Button" from App Designer, just register a click handler on it. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;In the Interactivity pane in App Designer find your button and in the right column choose "Custom Script". &amp;nbsp;Then click the "Edit Script" button - that'll add a handler for you and you can just put whatever code you want in there.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Oct 2015 16:19:22 GMT</pubDate>
    <dc:creator>Chris_P_Intel</dc:creator>
    <dc:date>2015-10-16T16:19:22Z</dc:date>
    <item>
      <title>Change href of sprite button in JavaScript</title>
      <link>https://community.intel.com/t5/Software-Archive/Change-href-of-sprite-button-in-JavaScript/m-p/1017271#M36685</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I have a javascript function in which I want to set the href of a sprite button. Nothing seems to work. I have tried&lt;/P&gt;

&lt;P&gt;- document.getElementById('button').href&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;- document.getElementById('button').src&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.512px;"&gt;with jQuery via setAttribute..&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Anyone who can tell me what I should do to set the href of a sprite button?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 18:29:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Change-href-of-sprite-button-in-JavaScript/m-p/1017271#M36685</guid>
      <dc:creator>Ruben_S_</dc:creator>
      <dc:date>2015-10-13T18:29:03Z</dc:date>
    </item>
    <item>
      <title>What type of element is</title>
      <link>https://community.intel.com/t5/Software-Archive/Change-href-of-sprite-button-in-JavaScript/m-p/1017272#M36686</link>
      <description>&lt;P&gt;What type of element is 'button'? The HTML href attribute can only be added to a HTML &amp;lt;a&amp;gt; tag.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 15:37:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Change-href-of-sprite-button-in-JavaScript/m-p/1017272#M36686</guid>
      <dc:creator>Elroy_A_Intel</dc:creator>
      <dc:date>2015-10-16T15:37:12Z</dc:date>
    </item>
    <item>
      <title>If it is the "Sprite Button"</title>
      <link>https://community.intel.com/t5/Software-Archive/Change-href-of-sprite-button-in-JavaScript/m-p/1017273#M36687</link>
      <description>&lt;P&gt;If it is the "Sprite Button" from App Designer, just register a click handler on it. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;In the Interactivity pane in App Designer find your button and in the right column choose "Custom Script". &amp;nbsp;Then click the "Edit Script" button - that'll add a handler for you and you can just put whatever code you want in there.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 16:19:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Change-href-of-sprite-button-in-JavaScript/m-p/1017273#M36687</guid>
      <dc:creator>Chris_P_Intel</dc:creator>
      <dc:date>2015-10-16T16:19:22Z</dc:date>
    </item>
    <item>
      <title>Where are you attempting to</title>
      <link>https://community.intel.com/t5/Software-Archive/Change-href-of-sprite-button-in-JavaScript/m-p/1017274#M36688</link>
      <description>&lt;P&gt;Where are you attempting to go ? To another file? To a #section on the page?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 16:20:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Change-href-of-sprite-button-in-JavaScript/m-p/1017274#M36688</guid>
      <dc:creator>Chris_P_Intel</dc:creator>
      <dc:date>2015-10-16T16:20:10Z</dc:date>
    </item>
    <item>
      <title>I have registered a click</title>
      <link>https://community.intel.com/t5/Software-Archive/Change-href-of-sprite-button-in-JavaScript/m-p/1017275#M36689</link>
      <description>&lt;P&gt;I have registered a click handler for it.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;document.getElementById('button').onclick = (function(value){ code... });&lt;/P&gt;

&lt;P&gt;This did the trick&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2015 06:34:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Change-href-of-sprite-button-in-JavaScript/m-p/1017275#M36689</guid>
      <dc:creator>Ruben_S_</dc:creator>
      <dc:date>2015-10-19T06:34:03Z</dc:date>
    </item>
  </channel>
</rss>

