Demystifying unexpected redirects to login page in ASP.NET

Anildwivedi
Posted by Anildwivedi under ASP.NET category on | Points: 40 | Views : 1649
How to include javascript code in asp.net MVC4 View page?
i am new to asp.net MVC4 architecture i am get stuck with following thing please help me.
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/jqueryui")

<script type="text/javascript">
$(function () {
$("#sections").tabs();
//here i am getting error that Object[object object] has not method tabs
});
</script>

<div id="sections">
<ul>
<li><a href="#section-1">section-1 </a></li>
<li><a href="#section-2">section-2 </a></li>
</ul>
<div id="section-1">
section-1 content............
</div>
<div id="section-2">
section-2 content............
</div>
</div>

Comments or Responses

Login to post response