Вы должны передать $ in function ()
<script> jQuery(document).ready(function($){ // jQuery code is in here }); </script>