title: How to include javascript code in asp.net MVC4 View page?
body: <p>i am new to asp.net MVC4 architecture i am get stuck with following thing please help me.</p>
  
  <pre><code>@Scripts.Render("~/bundles/jquery")
  @Scripts.Render("~/bundles/jqueryui")
  
  &lt;script type="text/javascript"&gt;
  $(function () {
      $("#sections").tabs();
      //here i am getting error that Object[object object] has not method tabs    
  });
  &lt;/script&gt;
  
  &lt;div id="sections"&gt;
      &lt;ul&gt;
          &lt;li&gt;&lt;a href="#section-1"&gt;section-1 &lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#section-2"&gt;section-2 &lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
          &lt;div id="section-1"&gt;
          section-1 content............  
          &lt;/div&gt;
          &lt;div id="section-2"&gt;
          section-2 content............ 
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>THANKS IN ADVANCE......</p>