Placeholder not working for Internet Explorer

后端 未结 7 1436
青春惊慌失措
青春惊慌失措 2020-12-02 13:47

Placeholder for my textbox in below format is not working for Internet Explorer. Is there anyway to display placeholder for TextBox in Internet Explorer?

相关标签:
7条回答
  • 2020-12-02 14:20

    You can use a JavaScript Polyfill to make the placeholder work on older browsers. There are many Polyfills out there. Here is one that talks about Making Placeholders work in IE. Basically what all these Scripts do is to Simulate the behaviour of a native placeholder support of browser using JavaScript.

    0 讨论(0)
提交回复
热议问题