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 7684213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:58:28+00:00 2026-05-31T18:58:28+00:00

I have implemented the .NET Login functionality, and I am receiving a JavaScript Error

  • 0

I have implemented the .NET Login functionality, and I am receiving a JavaScript Error whenever a User clicks on the Log-In Anchor Button to reach the Login.aspx.

This Anchor Menu Button is part of the CSS Menu which is defined within the Master Page.

When I run this locally, the error indicates:

‘ddmegamenu’ is undefined

However this script is defined within the MasterPage:

All of the sub-pages can see this script including the Login.aspx:

<script type="text/javascript">
    ddmegamenu.docinit({
        menuid: 'solidmenu',
        dur: 200 //<--no comma after last setting
    })
</script>

Here is the development site: http://www.virtualpetstore.com

The Login.aspx is within a seperate Account Directory, but I don’t think this should be a problem.

If anyone can see this issue, I would really appreciate it.

  • 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-31T18:58:29+00:00Added an answer on May 31, 2026 at 6:58 pm

    You’re getting the error because you’re not properly referencing the JS files on the Login.aspx page. This is what the console says (in addition to the error that you posted):

    GET http://www.virtualpetstore.com/Account/js/jquery.js 404 (Not Found)
    GET http://www.virtualpetstore.com/Account/js/jquery-1.5.min.js 404 (Not Found)
    GET http://www.virtualpetstore.com/Account/js/jquery-ui.min.js 404 (Not Found)
    GET http://www.virtualpetstore.com/Account/js/jquery.serialScroll-min.js 404 (Not Found)
    GET http://www.virtualpetstore.com/Account/js/ddmegamenu.js 404 (Not Found)
    GET http://www.virtualpetstore.com/Account/js/jquery.scrollTo-min.js 404 (Not Found)
    GET http://www.virtualpetstore.com/Account/js/jquery.simplemodal.js 404 (Not Found)
    GET http://www.virtualpetstore.com/Account/js/jquery.cycle.min.js 404 (Not Found)
    GET http://www.virtualpetstore.com/Account/js/jquery.actual.js 404 (Not Found)
    GET http://www.virtualpetstore.com/Account/js/contact.js 404 (Not Found)
    

    Ensure that your JS files are being loaded and your error will most likely disappear.

    Hint: Your script tags should look something like this:

    <script type="text/javascript" src="/js/ddmegamenu.js"></script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an asp.net login control and I have implemented the user name to
i have implemented facebook log in using Facebook javascript SDK in Jquery mobile ,
I have just implemented Facebook Authentication on my website using Facebook JavaScript. If user
I implemented the ASP.NET user controls. Each user can log in and update their
On my Asp.Net MVC 3 site I have an error logging functionality that sends
I've implemented custom authentication in ASP.NET MVC. If a valid user tries to login,
We have implemented SSO in a .NET web application using Windows Identity Foundation (WIF).
I have implemented Membership Provider in my ASP.NET MVC app. Membership provider has the
we have implemented a web application in asp.net 4.0 and customer needs us to
I have implemented a HttpModule in ASP.NET (framework 2.0). From my logging on the

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.