krisk / placeholder-fix

Fallback for browsers which do not support the placeholder attrbute

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Placeholder fix

The placeholder attribute has been introduced in HTML5 specifications for input and textarea elements. The placeholder text is shown when the element is empty and not focused. However, some browsers do not support this attribute. This fix is a fallback until the placholder attribute is fully supported in all browsers.

About

Fallback for browsers which do not support the placeholder attrbute


Languages

Language:JavaScript 100.0%