Hi
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="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="C:\Users\Desktop\dist\js\select2.js"></script>
<script>
alert("i m here");
$(document).ready(function() { $("#e1").select2(); });
</script>
<script type="text/javascript">
$(".js-example-basic-multiple").select2();
</script>
Regards,
Mahesh
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.