0

I am getting an error at hasAttr.js saying that it cannot find the variable :jQuery.

Please help me.

I am new to working on the client side.

3
  • 3
    I guess you are new at Stackoverflow as well.. Commented Apr 3, 2012 at 4:25
  • 3
    Please check if you have given the proper path to locate the file. And remember when ever you use any thrid party jQuery plugin always locate your jQuery library before the plugin file. Commented Apr 3, 2012 at 4:26
  • Can you provide an example page or jsfiddle? Commented Apr 3, 2012 at 6:19

2 Answers 2

2

My guess without any other code is that you are not including the jquery library

Sign up to request clarification or add additional context in comments.

Comments

0

use google CDN Jquery Libray , use this in your head element

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript>

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.