BookmarkSubscribeRSS Feed
Calcite | Level 5



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.



<link href="C:\Users\Desktop\dist\css\select2.min.css" rel="stylesheet" />
<script src="C:\Users\Desktop\dist\js\select2.min.js"></script>
<script src=""></script>

<script src="C:\Users\Desktop\dist\js\select2.js"></script>
alert("i m here");
$(document).ready(function() { $("#e1").select2(); });

<script type="text/javascript">







Quartz | Level 8
Hello Mahesh,

My guess would be that your stored process can't access JS files stored on your Desktop.
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.

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.

For more information about {An}alytium, visit



Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.


Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1 like
  • 2 in conversation