Solved

JQuery won't work on my html page

Posted on 2014-07-31
4
294 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS Question.. 3 92
Video and audio capture on Windows 7 3 100
Live mode in DW, need to creae Session 4 106
What .NET URL re-routing tool did I use? 2 74
Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
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…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

789 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