HTML5 placeholder disappears on focus

前端 未结 6 872
广开言路
广开言路 2020-11-29 01:58

Is there a freely available jQuery plugin that changes placeholder behavior to match HTML5 spec?

Before Focus

6条回答
  •  囚心锁ツ
    2020-11-29 02:10

    I found this question by googling out the solution to the same problem. It seems that existing plugins either don't work in elder browsers or hide placeholder on focus.

    So I decided to roll on my own solution while trying to combine best parts from existing plugins.

    You may check it out here and open an issue if you face any problems.

提交回复
热议问题