Guest User

Untitled

a guest
May 26th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # This is how to use content_for :head :
  2. <% content_for :head do %>
  3. <script type='text/javascript'>
  4. $(document).ready(function() {
  5. // do something here that happens when the DOM is loaded (when all the HTML has been parsed)
  6. }
  7. </script>
  8. <% end %>
Add Comment
Please, Sign In to add comment