I'm looking for a way to dynamically generate javascript. I didn't find any information on this by browsing through Script#'s documentation, so here are my questions:
1) Is it possible to generate javascript code during runtime?
2) Is it possible to dynamically set a file name to which generated code would be saved to? Or can I get the generated code as a string?
A scenario would be: A user goes to a web site, enters a name in a text box, hits a button and a javascript is generated that would say alert("Hello name"). (which can be offered as a download)
I'm using the version I got through NuGet (0.7.5).
If it is possible, I would appreciate any hints or examples.
Thank you!