Reputation: 4251
The complete warning is Validation (): Element 'html' occurs too few times
This is for a JSON view, which you might guess returns a JSON result and hence no html.
Upvotes: 2
Views: 420
Reputation: 4251
http://www.dev102.com/2008/08/19/jquery-and-the-aspnet-mvc-framework/ Here is another tutorial as well.
Upvotes: 0
Reputation: 91525
ASP.NET MVC has the ability to return JSON data as a proper json response. It seems you're using HTTP response which expects HTML to exist in it.
Here is an example of using JSON.NET to build a JSON ActionResult.
Upvotes: 2