Customize Watermark text

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.

    Watermarktext