Reputation: 1
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.
Upvotes: 0
Views: 82
Reputation: 15861
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>
Upvotes: 0
Reputation: 67115
My guess without any other code is that you are not including the jquery library
Upvotes: 2