Reputation: 3664
In my gsp page there is a need to include some jQuery code. My page does not have head and title it starts from div tag. How to include jQuery script?
Upvotes: 0
Views: 1060
Reputation: 20240
The same way you would do in the head
. It's unnecessary to do that strictly in the head
.
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
// we will add our javascript code here
</script>
Upvotes: 1