Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3213246
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:55:22+00:00 2026-05-17T14:55:22+00:00

I normally don’t ask for help. I have spent 3 plus hours trying to

  • 0

I normally don’t ask for help. I have spent 3 plus hours trying to incorporate simple javascript using JQuery with MVC app. Not a production app, I am just trying to learn MVC and JQuery. I have googled and found various sample apps that I couldn’t get to work. so here is a detailed explanation of the latest download that I am trying to get to work.
here is the website article by well respected Dino Esposito
http://msdn.microsoft.com/en-us/scriptjunkie/ff679948.aspx

just like the article mentions, I create a Asp.net MVC2 Web App(not the empty template)
Than in the Site.Master I register all the css/js files in the head section
and than i cut and paste the following in Site.Master

<div id="menucontainer">
        <ul id="menu">
            <li><%= Html.ActionLink("Home", "Index", "Home", 
                new { title="Home Page" }, null)%></li>
            <li><%= Html.ActionLink("About", "About", "Home", 
                new { title = "About" }, null)%></li>
            <li><%= Html.ActionLink("Misc", "Demo", "Home", 
                new { title = "Miscellaneous demos" }, null)%></li>
            <li><%= Html.ActionLink("What's up here", "Todo", "Home", 
                new { title = "Read me" }, null)%></li>
        </ul>
    </div>
</div>
    <script type="text/javascript">
        $(document).ready(function () {
            $("menucontainer").tabs();
        });
    </script>

like the article mentions. I have all my directory structure and the necessary js/css files in place. in the article he is using 1.4.1, the latest downloads are 1.8.something

can some one point to some download of Hello World JQuery With MVC?
appreciate your help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T14:55:23+00:00Added an answer on May 17, 2026 at 2:55 pm

    The current version of jQuery is 1.4.2. The fact that you state 1.8.something inclines me to believe you are in fact loading jQuery-ui; which is an add-on library for jQuery.

    Can you load the page up on a browser in chrome or Firefox (with Firebug) and verify that jQuery is in fact working?

    Also the jQuery is wrong in the article you link, the following is a more succinct way of doing what you need and uses the appropriate selector:

    $(function(){
      $("#menucontainer").tabs();
    })
    

    http://www.chadmyers.com/blog/archive/2007/12/13/using-jquery-with-asp.net-mvc.aspx

    This link claims to have some pretty good MVC stuff for jQuery but honestly I would encourage you to read the documentation at jquery.com and see what went wrong.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I hope you guys can help me, normally I don't ask for help, but
I normally have several problems with how cron executes scripts as they normally don't
I don't normally go to stackoverflow for sigsegv errors, but I have done all
I want to access certain form elements from classes that normally don't have access
The author of this article states that Normally you don't want to have access
I'm going to confess I don't know what's best. Normally, I place the jquery
Normally, you don't actually edit a file in vim. If you run vim foo
Normally the XML files I have to parse are like this: <row id=1> <title>widget<title>
Normally we use window.location.href=/index.php?querystring; in javascript. Is there a way to send the querystring
I don't normally deal in databases (I've managed a few small ones for web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.