Hi All,
Thank you all in advance.
I am trying to use Jquery and other javascripst in my Stored Process.
While calling the STP, the javascript files are not being linked to the page.
I have stored my .js files in below path
"Config\Lev1\Web\WebServer\htdocs" .
I am able to resolve below url :-
"http://sasserver.com/jquery.min.js"
Following is the way i am linking .js file to my STP
<script type="text/javascript" src="jquery.min.js"></script>
But while executing the STP, the files are not being linked with the page.
I have attached the screenshot, please share the solution.
Hello,
Welcome to the communities.
I might be wrong, but you need a slash infront of your jquery reference. <script type="text/javascript" src="/jquery.min.js"></script>
Otherwise you can reference jQuery with absolute reference so it would be <script type="text/javascript" src="http://sasserver.com/jquery.min.js"></script>
Regards,
Vasilij
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.