<?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: Select2 jquery component in SAS Stored Process in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Select2-jquery-component-in-SAS-Stored-Process/m-p/275611#M4996</link>
    <description>Hello Mahesh, &lt;BR /&gt;&lt;BR /&gt;My guess would be that your stored process can't access JS files stored on your Desktop. &lt;BR /&gt;Also, you are referencing the same library twice. select2.js and select2.min.js are the same in terms of functionality. The second version is a minimified version where unnecessary whitespace is removed and references are substituted. &lt;BR /&gt;&lt;BR /&gt;Please open the developer console (F12 in Chrome) and see if there are any errors reported. They should be self explanatory. If they are not, post them here. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vasilij</description>
    <pubDate>Tue, 07 Jun 2016 10:48:35 GMT</pubDate>
    <dc:creator>VasilijNevlev</dc:creator>
    <dc:date>2016-06-07T10:48:35Z</dc:date>
    <item>
      <title>Select2 jquery component in SAS Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Select2-jquery-component-in-SAS-Stored-Process/m-p/275605#M4995</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using select2 component to dynamically fetch the data from a SAS dataset in a drop down which enables user to select multiple values. It works fine when i code it in normal HTML. However the same piece of code is not working when used inside the stored process. All other baisc components of html are working fine and are being surfaced properly when the stored process is executed on to the stored process web application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;link href="C:\Users\Desktop\dist\css\select2.min.css" rel="stylesheet" /&amp;gt;&lt;BR /&gt;&amp;lt;script src="C:\Users\Desktop\dist\js\select2.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;script src="&lt;A href="https://communities.sas.com/" target="_blank"&gt;http://code.jquery.com/jquery-1.10.2.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script src="C:\Users\Desktop\dist\js\select2.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;alert("i m here");&lt;BR /&gt;$(document).ready(function() { $("#e1").select2(); });&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;BR /&gt;$(".js-example-basic-multiple").select2();&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 09:52:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Select2-jquery-component-in-SAS-Stored-Process/m-p/275605#M4995</guid>
      <dc:creator>MaheshYadav</dc:creator>
      <dc:date>2016-06-07T09:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Select2 jquery component in SAS Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Select2-jquery-component-in-SAS-Stored-Process/m-p/275611#M4996</link>
      <description>Hello Mahesh, &lt;BR /&gt;&lt;BR /&gt;My guess would be that your stored process can't access JS files stored on your Desktop. &lt;BR /&gt;Also, you are referencing the same library twice. select2.js and select2.min.js are the same in terms of functionality. The second version is a minimified version where unnecessary whitespace is removed and references are substituted. &lt;BR /&gt;&lt;BR /&gt;Please open the developer console (F12 in Chrome) and see if there are any errors reported. They should be self explanatory. If they are not, post them here. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vasilij</description>
      <pubDate>Tue, 07 Jun 2016 10:48:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Select2-jquery-component-in-SAS-Stored-Process/m-p/275611#M4996</guid>
      <dc:creator>VasilijNevlev</dc:creator>
      <dc:date>2016-06-07T10:48:35Z</dc:date>
    </item>
  </channel>
</rss>

