Posted
on Feb 12, 2012
(permalink)
I have a TabStrip with 6 pages .Each page is done in a partial view . Each (page/partial view) has some controls and 2 or 3 partial views . What I want is from a partial view of a partial view inside the tabStrip ,when clicking on a button, to change the page of the tabStrip . I try it like this:
<button class="t-button" onclick="Next()">Next</button>
<script type="text/javascript">
function Next() {
var tabstrip = $("#MainTabStrip").data("tTabStrip");
var item = $("li", tabstrip.element)[$("2").val()];
tabstrip.select(item);
}
</script>
But I cant get to page "2" :(