The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Error: '$' is undefined
Blueie
post Mar 14 2015, 02:38 PM
Post #1





Group: Members
Posts: 4
Joined: 15-September 13
Member No.: 19,734



Hello

I have the following JavaScript in my 'Home' page:

CODE
<script type="text/javascript">
    
$(function() {
      $("#lava_menu").lavaLamp({
        fx: "backout",
        speed: 700
      });
    });
  
</script>


and I am getting the following error:

QUOTE
Error: '$' is undefined


Please see attached.Attached Image

What does that mean, please, and how may I correct it - the error pops up every time I go to that page.

Thank you.

Blue
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Mar 14 2015, 03:23 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,653
Joined: 10-August 06
Member No.: 7



That looks like jQuery. Does the page embed the actual jQuery library as well?.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th April 2024 - 08:03 PM