Home Cooker Classes Others Rice CookerGX
Classes  >  textbox  >  textbox(element)
textbox class : textbox(element) fitter

Description

Gets an instance of textbox class initialized by argument.

Syntax

new textbox(element inputElement)

Arguments

ClassNameDescription
elementinputElementAn instance of the element class representing the input tag which the type attribute is "text".

Return value

ClassDescription
textboxAn instance of the textbox class initialized by argument.

Sample code

// The inputElement is an instance of the element class representing the input tag.

textbox textboxInstance = new textbox(inputElement);

Notes

If the argument is not an instance of the appropriate element class, an exception will be raised.

Links for reference

None.

Copyright © Rice All rights reserved.