Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This is how to use content_for :head :
- <% content_for :head do %>
- <script type='text/javascript'>
- $(document).ready(function() {
- // do something here that happens when the DOM is loaded (when all the HTML has been parsed)
- }
- </script>
- <% end %>
Add Comment
Please, Sign In to add comment