I’d like to get all <input /> elements with the placeholder property set, how could I do this without jquery? it should support IE6+, and other popular browsers.
I’d like to get all <input /> elements with the placeholder property set, how
Share
Assuming all the fields have an ID
DEMO
Update: you can as posted elsewhere test for null, undefined or blank in one go: