<?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 Re: Mashups-Passing Variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31976#M5400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i code it to use the variable directly, Qlik objects in the mashup go completely blank ,they dont show any data.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;app.variable.setStringValue("vLat", &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;lat);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Feb 2018 14:06:19 GMT</pubDate>
    <dc:creator>nvrphanikumar</dc:creator>
    <dc:date>2018-02-05T14:06:19Z</dc:date>
    <item>
      <title>Mashups-Passing Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31969#M5393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on the examples in the thread below,I was able to pass static variables from Select or Input HTML Tags to QlikSense App.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/220759" title="https://community.qlik.com/thread/220759"&gt;https://community.qlik.com/thread/220759&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm now trying to pass dynamic value instead of static value.&lt;/P&gt;&lt;P&gt;This dynamic value is based on geo location of the user logged in.&lt;/P&gt;&lt;P&gt;With some sample codes available &lt;A href="https://www.w3schools.com/html/html5_geolocation.asp"&gt;online&lt;/A&gt;,I was able to obtain geo codes and save it to a variable.&lt;/P&gt;&lt;P&gt;Cant figure out ,how to pass these dynamic variable to Qlik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example code;&lt;SPAN style="font-size: 13.3333px;"&gt;Assigned lat variable as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;var lat = position.coords.latitude;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and trying to pass this dynamic variable using this statement below,I know i'm doing something wrong with bold text below but dont know how to correct it.&lt;/P&gt;&lt;P&gt;&amp;nbsp; $("#Accept1-button").click(function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; // app.variable.setNumValue('vLat',5);&lt;/P&gt;&lt;P&gt;app.variable.setStringValue("vLat", &lt;STRONG&gt;$("#lat").val())&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ref Document&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense-developer/September2017/Subsystems/APIs/Content/CapabilityAPIs/qlik-variable-interface.htm" title="http://help.qlik.com/en-US/sense-developer/September2017/Subsystems/APIs/Content/CapabilityAPIs/qlik-variable-interface.htm"&gt;Variable API ‒ Qlik Sense Developers&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 00:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31969#M5393</guid>
      <dc:creator>nvrphanikumar</dc:creator>
      <dc:date>2018-02-01T00:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Mashups-Passing Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31970#M5394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #000000; font-family: arial, helvetica, sans-serif;"&gt; &lt;SPAN class="title"&gt;VariableValues&lt;/SPAN&gt;&lt;SPAN class="params"&gt;()&lt;/SPAN&gt; {&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN class="keyword" style="font-size: 1em; color: #000000;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; color: #000000;"&gt; singleValues = $( &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 1em; color: #000000;"&gt;"#single"&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; color: #000000;"&gt; ).val();&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN class="keyword" style="font-size: 1em; color: #000000;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; color: #000000;"&gt; multipleValues = $( &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 1em; color: #000000;"&gt;"#multiple"&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; color: #000000;"&gt; ).val() || [];&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: arial, helvetica, sans-serif;"&gt;app.variable.setStringValue("singlevalues", &lt;SPAN style="color: #ff0000;"&gt;"$(lat)"&lt;/SPAN&gt;.val());&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="font-size: 1em; color: #000000;"&gt;$( &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 1em; color: #000000;"&gt;"p"&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; color: #000000;"&gt; ).html( &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 1em; color: #000000;"&gt;"&amp;lt;b&amp;gt;Single:&amp;lt;/b&amp;gt; "&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; color: #000000;"&gt; + singleValues +&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN class="string" style="font-size: 1em; color: #000000;"&gt;" &amp;lt;b&amp;gt;Multiple:&amp;lt;/b&amp;gt; "&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; color: #000000;"&gt; + multipleValues.join( &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 1em; color: #000000;"&gt;", "&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; color: #000000;"&gt; ) );&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="font-size: 1em;"&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 1em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: source-code-pro, Consolas, monospace; font-size: 1em;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Note - While extend to variable # and . are ID's and Classes only. So, You may require to call outside of Variables via Double Quotes. If not working, Please make sure to explain little about needed to pas the variables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 00:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31970#M5394</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-02-01T00:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Mashups-Passing Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31971#M5395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Anil, Tried similar code on mine but didnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me explain further.&lt;/P&gt;&lt;P&gt;1)In Qlik App,I have a Variable called &lt;STRONG&gt;vLat&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2)In the mashup html ,I have the following code to find the geocodes &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body onload="javascript:getLocation()"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;lt;p id="demo"&amp;gt;&amp;lt;/p&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;/P&gt;&lt;P&gt;var x = document.getElementById("demo");&lt;/P&gt;&lt;P&gt;var lat = position.coords.latitude;&lt;/P&gt;&lt;P&gt;var lon = position.coords.longitude;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function getLocation() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (navigator.geolocation) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; navigator.geolocation.getCurrentPosition(showPosition);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else { &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x.innerHTML = "Geolocation is not supported by this browser.";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function showPosition(position) {&lt;/P&gt;&lt;P&gt;//Passing Variables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById("lat").innerHTML = position.coords.latitude;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById("lon").innerHTML = position.coords.longitude;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; x.innerHTML = "Latitude: " + position.coords.latitude + &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&amp;lt;br&amp;gt;Longitude: " + position.coords.longitude;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;lt;button id="Accept1-button"&amp;gt;GeoLoc&amp;lt;/button&amp;gt;&lt;/P&gt;&lt;P&gt;3)&lt;SPAN style="font-size: 13.3333px;"&gt;When a user clicks the button,I defined JavaScript to pass the HTML variable lat to the Qlik App variable vLat&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; $("#Accept1-button").click(function() {&lt;/P&gt;&lt;P&gt;app.variable.setStringValue("vLat","$(lat)".val());&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prior to your suggestion,My code looked like below&lt;/P&gt;&lt;P&gt;&amp;nbsp; $("#Accept1-button").click(function() {&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;app.variable.setStringValue("vLat",$("#lat").val());&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the challenge here is,the my code works for Select Tags,Per your recommendation,i changed my code to look at $(lat) for variable but that didnt work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 18:50:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31971#M5395</guid>
      <dc:creator>nvrphanikumar</dc:creator>
      <dc:date>2018-02-01T18:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mashups-Passing Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31972#M5396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From third point you can call like below, Try this way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;variable vLat&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;document.getElementById("&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Accept1-button&lt;/SPAN&gt;").&lt;/SPAN&gt;click(function() {&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;app.variable.setStringValue("vLat","$(lat)".val());&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; });&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 14:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31972#M5396</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-02-02T14:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Mashups-Passing Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31973#M5397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Luck Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 16:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31973#M5397</guid>
      <dc:creator>nvrphanikumar</dc:creator>
      <dc:date>2018-02-02T16:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Mashups-Passing Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31974#M5398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to fix the issue.&lt;/P&gt;&lt;P&gt;I believe the issue is,Qlik only accepts input values rather than variables&lt;/P&gt;&lt;P&gt;Here is an explanation of how its implemented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)HTML and Java Script to get Geo Location&lt;/P&gt;&lt;P&gt;&amp;lt;p id="demo"&amp;gt;&amp;lt;/p&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;/P&gt;&lt;P&gt;var x = document.getElementById("demo");&lt;/P&gt;&lt;P&gt;var vlat = position.coords.latitude;&lt;/P&gt;&lt;P&gt;var vlon = position.coords.longitude;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function getLocation() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (navigator.geolocation) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; navigator.geolocation.getCurrentPosition(showPosition);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else { &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x.innerHTML = "Geolocation is not supported by this browser.";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function showPosition(position) {&lt;/P&gt;&lt;P&gt;//Passing Variables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; vlat = position.coords.latitude;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; vlon = position.coords.longitude;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; x.innerHTML = "Latitude: " +&amp;nbsp; vlat + //position.coords.latitude + &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&amp;lt;br&amp;gt;Longitude: " +&amp;nbsp; vlon //position.coords.longitude;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)Create Input Box to hold the values ,so it can pass to Qlik App.&lt;/P&gt;&lt;P&gt;Forcing the user to hit Accept Button,so we can pass variable values to input boxes&lt;/P&gt;&lt;P&gt;&amp;lt;input type="text" type="hidden" id="myLat" &amp;gt;&amp;lt;/input&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;input type="text" type="hidden" id="myLong" &amp;gt;&amp;lt;/input&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;button id="Accept1-button" onclick="myFunction()"&amp;gt;Accept GeoLoc&amp;lt;/button&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;/P&gt;&lt;P&gt;function myFunction() {&lt;/P&gt;&lt;P&gt;document.getElementById("myLat").defaultValue = vlat ;&lt;/P&gt;&lt;P&gt;document.getElementById("myLong").defaultValue = vlon ;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4)This step passes variables to Qlik&lt;/P&gt;&lt;P&gt;&amp;nbsp; $("#Accept1-button").click(function() {&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; app.variable.setStringValue("vLat",$("#myLat").val());&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; $("#Accept1-button").click(function() {&lt;/P&gt;&lt;P&gt;app.variable.setStringValue("vLong",&amp;nbsp; $("#myLong").val());&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 23:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31974#M5398</guid>
      <dc:creator>nvrphanikumar</dc:creator>
      <dc:date>2018-02-02T23:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Mashups-Passing Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31975#M5399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Given that lat is a javascript variable, I think the correct syntax would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;app.variable.setStringValue("vLat", &lt;STRONG&gt;lat);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The jquery method &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$("#xx") &lt;/STRONG&gt;is for accessing DOM elements, not variables.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;-Rob&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 23:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31975#M5399</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-02-02T23:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Mashups-Passing Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31976#M5400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i code it to use the variable directly, Qlik objects in the mashup go completely blank ,they dont show any data.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;app.variable.setStringValue("vLat", &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;lat);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 14:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mashups-Passing-Variables/m-p/31976#M5400</guid>
      <dc:creator>nvrphanikumar</dc:creator>
      <dc:date>2018-02-05T14:06:19Z</dc:date>
    </item>
  </channel>
</rss>

