1

hello guys what is the best way to do an AJAX post using ASP.NET MVC?

1

1 Answer 1

3

You need code on the client (browser) side to initiate the call, and the easiest way to do this is to use a Javascript library like jQuery which has integrated AJAX/JSON support. You'll find that jQuery is already in your Scripts folder if you have just used the Visual Studio template for an ASP.NET MVC project. Follow the link to the jQuery site and look at its .ajax() and .json() methods for more information.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.