?
Solved

JQuery won't work on my html page

Posted on 2014-07-31
4
Medium Priority
?
325 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 1500 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

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Question has a verified solution.

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

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…
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Suggested Courses

607 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