Clear HTML5 placeholder attribute text on focus in Chrome

Iexdlcndme

New Member
Is there any way I can clear \[code\]placeholder\[/code\] text on focus in Chrome, Firefox clears the text on focus but Chrome doesn't.This confuses the user whether the text in the bar is typed, or it's a placeholder text (Even if I changed the text color to light grey), I don't want to use unnecessary JavaScript or jQuery for this, I want to know if there's some HTML/CSS solution for thisDemo FiddleChrome Preview (On Focus)
INGVP.jpg
Firefox Preview (On Focus)
ViAtu.jpg
 
Back
Top