How to create an HTML form with pre-filled in “instructions” that clear when a user clicks in the box?

后端 未结 5 1650
眼角桃花
眼角桃花 2021-02-13 10:27

I have an HTML form as follow:

   
Username: Passwor
5条回答
  •  野的像风
    2021-02-13 11:24

    I wrote a custom one because I wanted to have a specific behaviour.

    https://90dayjobmatch.com/js/jquery.wf.formvaluelabel.js

    Usage:

    $('#signup_job_title').formvaluelabel({text:'eg. Graphic Artist'});
    

    Let me know if you have any questions about it.

    HTH

提交回复
热议问题