Sentinel: Your Web-Performance Watchman

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 this help? We can do way more!


Hi there, I’m Harry Roberts. I am an award-winning Consultant Web Performance Engineer, designer, developer, writer, and speaker from the UK. I write, Tweet, speak, and share code about measuring and improving site-speed. You should hire me.

You can now find me on Mastodon.


Suffering? Fix It Fast!

Projects

  • inuitcss
  • ITCSS – coming soon…
  • CSS Guidelines

Next Appearance

  • Talk & Workshop

    WebExpo: Prague (Czech Republic), May 2024

Learn:

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.