Getting Started

27 Sep 20181 minute to read

This section explains briefly about how to create a NumericTextbox in your application with JSP.

The usage of NumericTextbox control is described in the following sections.

Create a NumericTextbox in JSP

You can create an JSP application and add necessary scripts with the help of the given JSP Getting Started Documentation.

Create the JSP file and add the below given code to render NumericTextbox control.

  • HTML
  • <div>NumericTextbox control in JSP</div>
          <ej:numericTextbox id="numeric"></ej:numericTextbox>

    You can execute the above code example to display the NumericTextbox control.

    Configuring NumericTextbox

    This section encompasses the details on how you can setting the value, minValue ,width properties with NumericTextbox control in your application according to your requirement.

    To set the value, minValue ,width in your application add the following in your JSP file.

  • HTML
  • <ej:numericTextbox id="defaultnumeric" value="35" minValue="0" width="100%"></ej:numericTextbox>

    Run the above code to display the NumericTextbox control with value and minValue.