how to display text from response from javascript
<pre><code>using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class _Default : System.Web.UI.Page 
{
    NurseCounter nc;
    protected void Page_Load(object sender, EventArgs e)
    {
        int id = int.Parse(Request.QueryString["counterid"]);
        int play = int.Parse(Request.QueryString["display"]);
        try
        {
            nc = new NurseCounter(id);
            Response.Write(nc.RenterCounter(play));
        }
        catch
        {
            Response.Write("Counter Error Id=" + Request.QueryString["counterid"]);
        }
    }
}
</code></pre>

<p>When i test in test.htm</p>

<p><hr /></p>

<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" &gt;
&lt;head&gt;
    &lt;title&gt;Untitled Page&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;script type="text/javascript" src="http://localhost:4464/NurseCounter/Default.aspx?counterid=2&amp;display=6"&gt;&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>and , response dont display in test.htm</p>
