Solved

JQuery won't work on my html page

Posted on 2014-07-31
4
297 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
Using Quotation Marks in PHP This question (http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_28217211.html) seems to come up a lot for developers who are new to PHP.  And it got me thinking, "How can we explain the rule…
This video teaches users how to migrate an existing Wordpress website to a new domain.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

726 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