jQuery placeholder plugin/polyfill

Written by on CSS Wizardry.

Table of Contents

My good friend, ex-colleague and all round awesome dude Dan Bentley has made a great little jQuery placeholder plugin which polyfills older browsers that don’t support the new HTML5 form attribute placeholder.

Link: https://github.com/danbentley/placeholder

Now I’ll readily admit that Dan has done 99% of the work here, but it has been something of a joint project in that:

  • I actually made him build it cos he’s amazing at JS and I needed it.

  • I’ve added a tiny, tiny bit of CSS/UI behaviour.

There’s my 1%.

Anyway, follow the project on GitHub, follow Dan on Twitter and GitHub and let us know if you use it!

Did you enjoy this? Hire me!

Hi there, I’m Harry. I am an award-winning Consultant Front-end Architect, designer, developer, writer and speaker from the UK. I write, tweet, speak and share code about authoring and scaling CSS for big websites. You can hire me.

I am currently accepting new projects for Q3–4 2019


  • inuitcss
  • ITCSS – coming soon…
  • CSS Guidelines

Next Appearance

  • Talk & Workshop

    WebExpo, Prague (Czech Republic), September 2019

I am available for hire to consult, advise, and develop with passionate product teams across the globe.

I specialise in large, product-based projects where performance, scalability, and maintainability are paramount.