Add HTML5 placeholder text to a textbox .net

前端 未结 4 1509
一生所求
一生所求 2020-12-10 10:29

I have a standard input:


I\'d like to have this render with a dyn

4条回答
  •  失恋的感觉
    2020-12-10 11:16

    There is also the TextBoxWatermark extender included in Microsoft's Ajax Control toolkit. It's not HTML5, but it's backwards compatible (I believe). http://www.asp.net/AjaxLibrary/AjaxControlToolkitSampleSite/TextBoxWatermark/TextBoxWatermark.aspx

    
    

提交回复
热议问题