I am trying to use jquery in a grails 2.1.1 app with jquery plugin v1.8.0.
My .js file is in 'web-app/js/'
My view heading is
<head>
<g:javascript library="jquery" plugin="jquery"/>
<g:javascript src="dataFeed.js"/>
This works:
alert("hello");
This doesn't:
$(document).ready(function(){
alert("help");
});
Any ideas?