Set the value of an input field

前端 未结 15 1523
故里飘歌
故里飘歌 2020-11-22 00:54

How would you set the default value of a form text field in JavaScript?

15条回答
  •  礼貌的吻别
    2020-11-22 01:42

    The simple answer is not in Javascript the simplest way to get the placeholder is through the place holder attribute

    
    

提交回复
热议问题