I have Img tag on form and I want to send the id of this to aspx.cs
. I used post method and retriving this id using Request.Form["id"]
but i'm not getting id on aspx.cs
file .
code:
$("img").click(function () {
var id = $(this).attr("id");// Here I am getting id How can i send this id to aspx.cs
jq.post("WebForm1.aspx",
id: $(this).attr("id"));
});