Skip to content

navinpeiris/jquery-placeholder-rails

Repository files navigation

jquery-placeholder-rails

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.

Installation

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

Usage

See jquery-placeholder.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

jQuery Placeholder for the Rails asset pipeline

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages