jQuery Placeholder is a utility used to enable HTML5 placeholder text in IE and non-html5 compliant browsers developed by Mathias Bynens now integrated for the Rails asset pipeline.
See jquery-placeholder for more details.
Add this line to your application's Gemfile:
gem 'jquery-placeholder-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install jquery-placeholder-rails
Then require jquery-placeholder
in your app/assets/javascripts/application.js
file:
//= require jquery-placeholder
See jquery-placeholder.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request