Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

I can not intercept the selected tab() with javascript ...

$
0
0

 Hello, I'm usingtabs in acshtmlpage ofasp.netmvc coreproject,but Ineed tofigure outwhichis activewith javascript.Ifollowed the directionsof somearticlesbut I can notfigure it out. Below the code html of the tab

<form id="myFormFix" asp-controller="controller-name" asp-action="action-name"><div class="container"><!--------><div id="content"><ul id="tabs" class="nav nav-tabs" data-tabs="tabs"><li class="active"><a href="#test1" data-toggle="tab">Test1</a></li><li><a href="#test2" data-toggle="tab">Test2</a></li><li><a href="#test3" data-toggle="tab">Test3</a></li><li><a href="#test4" data-toggle="tab">Test4</a></li><li><a href="#test5" data-toggle="tab">Test5</a></li><li><a href="#test6" data-toggle="tab">Test6</a></li></ul><div id="my-tab-content" class="tab-content"><div class="tab-pane active" id="test1">test1</div><div class="tab-pane active" id="test2">test2</div>
                                              .....<div class="tab-pane active" id="test6">test6</div></div></div></div></form>

Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>