Javascript

If you want to add some custom Javascript code, just add it to app/assets/javascripts/application.js. For example to create a new alert just add:

$(function(){
  alert('foobar');
});

results matching ""

    No results matching ""