passing asp.net class object in javascript in ajax call
<p>I am having the below code in my project </p>

<pre><code>$.ajax({
        type: "POST",
        url: "Alerts.aspx/TestMethod",
        data: "{}",
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        success: OnSuccess,
        error: OnError
    });
</code></pre>

<p>now I want to pass the "this" or me(vb.net) as parameter in data object how to pass the current class object.</p>

<p>can any one help me </p>

<p>I tried  <code>data: "{obj:"&lt;%=Me%&gt;"}",</code></p>

<p>but it is not working can anyone help ...</p>
