Home > DeveloperSection > Forums > trigger event on tab menu click in jQuery
Simond Gear
Simond Gear

Total Post:9

Posted on    March-26-2016 12:25 AM

 JQuery C#  JQuery  ASP.NET MVC  CSS 

 1 Reply(s)
 229  View(s)
Rate this:
Hi All,

I have a tab menu. i.e. below:

I want to access all related pages in click of this tab menu and their submenu in jquery. Can anyone give me a solution, how to call a partial view in click of tab menu.
Please help me.
Thank you.

Anupam Mishra

Total Post:135

Posted on    March-28-2016 12:43 AM

Hi Simond,

This is a simple Form to call partial view:

<div id="tabs">
    <li><a href="#Home">Home</a></li>
    <li><a href="#Employee">Employee</a>
    <li><a href="#tabs-3">third tab</a></li>
  <div id="Home">
    @Html.Partial("HomeTabView", Model)
  <div id="Employee">
    @Html.Partial("EmpTabView", Model)
  <div id="About">
    @Html.Partial("AboutTabView", Model)

Don't want to miss updates? Please click the below button!

Follow MindStick