How would you set the default value of a form text field in JavaScript?
The simple answer is not in Javascript the simplest way to get the placeholder is through the place holder attribute