This project has moved and is read-only. For the latest updates, please go here.

execute external javascript

Mar 11, 2014 at 1:23 PM
Hi ClearScript team,

I have javascript loaded in my website and it creates div and append that to body. I want to know by using clearscripts, can I execute that javascript file and get that output to a string variable (I have to manipulate that html code in server side and save that to db without using any browser activities). Please give me your suggestions about this matter?

I really appreciate your work and thanks for sharing this.

Mar 11, 2014 at 2:49 PM
Greetings, chap!

ClearScript provides only a "bare" JavaScript execution environment to which you can add .NET objects and types. It does not implement the HTML DOM. If your application can do its job using only a combination of JavaScript built-ins and server-friendly .NET APIs, ClearScript could be an option for you.

Good luck!