Platform SDK: Web Telephony Engine |
The onchange event fires when the user finishes entering data into an entry field created by a TEXTAREA element or by an INPUT element whose TYPE is text. The user finishes either by entering the maximum number of characters for the field, or by entering the termination string. You set the maximum length for an INPUT element by using the MAXLENGTH attribute (the TEXTAREA element does not have this attribute). You set the termination string by using the InputTerminator property of the WTEApplication object.
Note that the onchange event fires only if the value of the entry field changed from its previous value. For example, suppose an HTML page includes a text INPUT element that has the VALUE attribute set to "123":
<input type="text" value="123"></input>
If the user enters the value "123", the onchange event is not fired.