obihill / restive.js

a designer-friendly jQuery toolkit for responsive Web design

Home Page:http://www.restivejs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: this.prop is not a function

sajaddp opened this issue · comments

Hello,
I insert this code to my page:
`<script type="text/javascript" src="js/restive.min.js"></script>

<script> $(document).ready(function () { $('body').restive({ breakpoints: ['768', '922'], classes: ['css-768', 'css-922'] }); }); </script>`

and add two class to my css file:
.css-768{ /*some code*/ } .css-922{ /*some code*/ }
but when I refresh page I got this error msg:
TypeError: this.prop is not a function

what is wrong?!

Hello Sajad,

Have you included JQuery?

TNX,
my JQuery address was wrong ):

No problem. Glad it's working now. Cheers.