title: generate HTML document server-side with jquery and classic asp
body: <p>Here is my question,</p>
  
  <p>Would it be possible, knowing that classic asp support server-side javascript, to be able to generate "server side HTML" to send to the client like 
    Response.write $(page).html()</p>
  
  <p>Of course it would be great to use jQuery to do it because it's easy to parse complicated structure and manipulate them.</p>
  
  <p>The only problem I can think of that would prevent me from doing this would be that classic asp exposes only 3 objects (response, server, request) and none of them provide "dom building facilities" like the one jQuery uses all the time. How could we possibly create a blank document object?</p>
  
  <p><strong>Edit</strong> : I have to agree with you that it's definitely not a good idea performance wise. Let me explain why we would need it.</p>
  
  <p>I am actually transforming various JSON feed into complicated, sometimes nested report in HTML. Client side it works really well, even with complicated set and long report.</p>
  
  <p>However, some of our client would like to access the "formatted" report using tools like EXCEL (using webquery which are depleted of any javascript). So in that particular case, I would need to be able to response.write the .html() content of what would be the jQuery work.</p>