This is done automatically for every browser except Chrome.
I\'m guessing I have to specifically target Chrome.
Any solutio
Demo is here: jsfiddle
Try this :
//auto-hide-placeholder-text-upon-focus
if(!$.browser.webkit){
$("input").each(
function(){
$(this).data('holder',$(this).attr('placeholder'));
$(this).focusin(function(){
$(this).attr('placeholder','');
});
$(this).focusout(function(){
$(this).attr('placeholder',$(this).data('holder'));
});
});
}