Q:

Post comment and then display the comments using ajax and jquery

I am developing an asp.net application in which I want to implement the discussion panel. I am able to post and display problem now I want to post comments on the problem. My requirement is when I click on the submit button of comment box then the comment will display and the comment box will be slide down similar to Stackoverflow comments. I know this is possible by using jquery and ajax but how? I don't know.

A:

<div id="commentTag">Comments</div>
<div id="txtArea">
    <textarea></textarea>
</div>

and the jquery part
$("#commentTag").on("click",function(){

    $("#txtArea").slideToggle();
});

http://jsfiddle.net/bVhzj/1/

