I know there are several ways to load a partial view with the event of a button, example:
<script type="text/javascript">
$(document).ready(function() {
$("#view1").click(function() {
$("#ajaxpanel").load("<%=Url.Action("View1") %>");
});
$("#view2").click(function() {
$("#ajaxpanel").load("<%= Url.Action("View2") %>");
});
});
</script>
The question is, how do I charge more than a partial view in the same event of a button?