Add span inside form's placeholder

后端 未结 7 1383
深忆病人
深忆病人 2020-12-03 12:17

I wanna add a color asterix in my form\'s placeholder, is it possible? \"enter

7条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-03 12:35

    I found a jQuery plugin that might suit you, the pholder plugin.
    If you look the demo, the placholder of the "Name" field is red.

    There may be other plugins or maybe you can edit it. :)

提交回复
热议问题