Evaluate javascript to plain text using C#, .NET 3.5

Posted by Dmi on Stack Overflow See other posts from Stack Overflow or by Dmi
Published on 2010-03-27T20:19:07Z Indexed on 2010/03/27 20:23 UTC
Read the original article Hit count: 250

Filed under:
|

Hi,

How can I evaluate's document.write javascript to plaintext in C#? I'm trying to evaluate this:

<script type="text/javascript">
a=2;b=3;
document.write(a+"_"+y);
</script>

to this:

2_3

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about evaluate