I am trying to copy this panel/accordion interface:
http://layout.jquery-dev.net/demos/complex.html
I thought it would be simple. I copied all the div tags to the index.cshtml and made reference to the respective jquery files in the _Layout.cshtml
Nothing works. When I move all the code to a simple html everything works.
Is there something I am not understanding about implementing this type of jquery interface in mvc3?
Thanks in advance.
My team is using jQuery and jQuery UI with MVC 3. There’s no real clever trick. We’re using Cassette, but the JavaScript files on the site are still accessible directly. I.E. this would work:
I assume you’re getting a 404 on the script tag (you can check this in the Firebug net panel). You probably just need to ensure jQuery and the plugins are installed and adjust the path to the script.