Exploring, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

Javascript code in SAS stored process

Accepted Solution Solved
Reply
Contributor
Posts: 31
Accepted Solution

Javascript code in SAS stored process

Hi,

I am looking for a javascript code that can be used in SAS stored process to act as reset filter button in one of my reports in SAS VA.

I can find the javascript code for it, but not getting how to use them in sas stored process.

Please let me know your suggestions.

Thanks!


Accepted Solutions
Solution
‎01-15-2016 04:38 AM
Contributor
Posts: 38

Re: Javascript code in SAS stored process

Posted in reply to abhilashatiwari

Sample Stored Process Code with JS:

 

data _null_;
file _webout;
put "<form name=myform> <input type=button value=""Try it now"" onClick=""alert('Hello from JavaScript!')""> </form> 
";
run;

i hope it helps

kind regards from germany
marius

 


stp_va_js_example.png

View solution in original post


All Replies
Solution
‎01-15-2016 04:38 AM
Contributor
Posts: 38

Re: Javascript code in SAS stored process

Posted in reply to abhilashatiwari

Sample Stored Process Code with JS:

 

data _null_;
file _webout;
put "<form name=myform> <input type=button value=""Try it now"" onClick=""alert('Hello from JavaScript!')""> </form> 
";
run;

i hope it helps

kind regards from germany
marius

 


stp_va_js_example.png
Contributor
Posts: 31

Re: Javascript code in SAS stored process

[ Edited ]

Hi Marius,

Its seems to what I was looking for. I have not yet tried, but will try soon and will let you know.

Thank you so much !

Regards,

Abhi

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 816 views
  • 1 like
  • 2 in conversation