Revisiting HTML5 placeholder fixes

I had a detailed look at my analytics for the first time in a while and I noticed I pick up quite a bit of traffic from which was quite interesting. Digging further I had a look and found most of it is to the quick JQuery based HTML5 placeholder fix I posted a while ago.
As pointed out by some Stack Overflow commenters there are elements of the coding that are less than ideal so I thought I’d address them and see what can be done.
Continue reading

JQuery HTML5 placeholder fix

I’ve revisited this post here – Revisiting HTML5 placeholder fixes I recommend you check that update out.

One of the nifty new features of HTML5 is the placeholder for forms which is added by putting in a placeholder value.

So I can use this everywhere I’ve just written a quick bit of jQuery to replicate the placeholder functionality in browser that don’t support. It also uses Modernizr to check if the browser already supports the placeholder technique.

Continue reading