Customize Watermark text

24 Jan 20191 minute to read

Watermark text property is used in customize the text that appears in the background of the Textbox. It acts like a label for the textbox.

Refer to the following code example.

  • HTML
  • <input id="textbox_sample" data-role="ejmtextbox" data-ej-watermarktext="Custom WaterMark"  data-ej-width="200">

    The following screenshot displays the customization of the text with Watermarktext Property.