I want to use the HTML5 \"placeholder\" attribute in my code if the user\'s browser supports it otherwise just print the field name on top of the f
HTML5
\"placeholder\"
Or just:
if (document.createElement("input").placeholder == undefined) { // Placeholder is not supported }