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
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.