Partial views in tabcontroller in mvc4
I added the partial views in tabs.while it is displaying views,views are coming onebyone these are not coming beside.It is showing links,it is not showing tabs .I want to display views when i click on tabs could you please tell me how to do this .
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Oct 22, 2013, 3:43 AM EDT
Try something like this,
General
Details
function tabItemClicked(a, action) {
var container = $(a).parents('div.tabs');
var resultDiv = $($(a).attr('href'), container);
$.ajax({
type: "POST",
url: action,
data: {},
success: function(response) {
resultDiv.html('');
resultDiv.html(response);
}
});
}