tags:

views:

30

answers:

1

Following Rick Strahl's example we evaluate javascript on the server.

Now I want to leverage jQuery. However we evaluating the jquery script this gives an error: 'Expected identifier or string' Any clue what this might be?

Ultimately I want to render jQuery Templates on the server in the same way as they are rendered in the browser.

A: 

There are a few way of evaluating Javascript on the server. Just a quick google on 'Microsoft JScript' or 'VsaEngine' will help you.

However, evaluating jQuery is not possible. A good explanation can be found here: http://jint.codeplex.com/Thread/View.aspx?ThreadId=80197

I am still interested in finding a solution.

Florian