Send request to server side on the text using asp.net
<p>I want to send request on server side <code>onFocus</code> event but my method is not calling, really confused, tried jquery ajax for that but all failed is there any other possible way to send request on server side using asp.net textbox onFocus event?</p>

<p>asp.net website project is created for work.</p>

<p>Ajax method code</p>

<pre><code>   $.ajax({
                type: "POST",
                url: "About.aspx/GetRes",
                data: "{}",
                contentType: "application/text; charset=utf-8",
                dataType: "text",
                success: function (msg) {
                    alert(msg);
                }
            });
</code></pre>

<p>Method which is calling</p>

<pre><code>Public Function GetRes() As String
    Return "I am calling GetRes method"
End Function
</code></pre>
