Solved

JQuery won't work on my html page

Posted on 2014-07-31
4
284 Views
Last Modified: 2014-07-31
I'm learning jQuery, along with .Net, html, css, mvc.  Anyway, the learning instructions had me load jQuery and it gives me things to do, typical.  But, the jQuery doesn't run at all or I get errors like the one below.

Microsoft JScript runtime error: Object doesn't support this property or method.

Sometimes my page will come up fine, but the jQuery code doesn't do what it's supposed to.

I'm attaching a screen print to show you what I have.
jQuery.docx
0
Comment
Question by:Sherry
  • 2
  • 2
4 Comments
 
LVL 21

Accepted Solution

by:
Randy Poole earned 500 total points
ID: 40232326
my guess is it is not finding the library.  Remove your reference to JQuery-2.1.1.js and add these to access it from the main site to see if it fixes your issue
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>

Open in new window

0
 

Author Comment

by:Sherry
ID: 40232381
Yes, that does work.  So what do I need to do to get it to find my scripts?  I use the "pick url" to point to it right now.
0
 

Author Comment

by:Sherry
ID: 40232388
I got it.  I put the full path to the project and folder.  That worked.  Thank you for your help.,
0
 
LVL 21

Expert Comment

by:Randy Poole
ID: 40232431
NP :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IIS: Multiple user recognition behid one IP 2 67
Is COM supported from Apache 1 44
Server error in 'XXXXXXXX' application. 12 73
Problem to open text file 11 73
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now