How do I stay in the selected tab during a postback?
问题 I have a aspx page which has three tabs. When I click a button in tab3, a postback will occur and it will bring me back to the tab1. How do I stay in the tab3? Following is my aspx page. Also I have noticed we have a javascript to set the active tab to tab1. Can anyone tell me how to modify it so that it will set the selected tab as the active tab during a postback? <script type="text/javascript"> $(document).ready(function() { //When page loads... $(".tab_content").hide(); //Hide all content