call a code behind function from jquery in aspx
<p>I want to call a codebehind function from jquery.</p>

<p>The aspx file name is group_master.aspx</p>

<p>The jquery is </p>

<pre><code>    function populatecontrol(list, control) {
    var id = 0;
var GroupName=document.getElementById('&lt;%=hdnGroupNameCheck.ClientID %&gt;');
if (list.length &gt; 0) {
    $.each(list, function (key, value) {

        var obj = JSON.parse(value);
        document.getElementById('&lt;%=hdnGroupNameCheck.ClientID %&gt;').value=obj.Second;
        control.html("Group already exist").append('&lt;a id="editclick" href ="edit('+obj.Second+')"&gt;Click here to edit or enquire&lt;/a&gt;');


    });
}
else
control.text="Group does not exist"
}
</code></pre>

<p>The edit('+obj.Second+') is an edit function in codebehind.</p>

<p>Thanks,</p>
