|
|
|
|
|
- JSProperty handles the control aliases
Allows you to handle specific features on the objects found in the current page. Allows you to: - read the JavaScript property of an object found in the current page
- assign a value to the JavaScript property of an object found in the current page.
This is an advanced function, requiring a good knowledge of Javascript.
Info(JSProperty("_PAGE_." + EDT_Edit1.Alias, "value"))
i is int
FOR i = 1 TO 3
JSProperty("_PAGE_.EDIT" + i, "value") = "test"
END
Sintaxis
Retrieving the value of a property for a page element Ocultar los detalles
<Result> = JSProperty(<Full element name> , <Property>)
<Result>: Character string or integer Value of property for the element used. <Full element name>: Character string "JavaScript" name of element to use. In most cases, this name starts with "document.". You must use the aliases of controls. For more details, see Remarks. <Property>: Character string Property of the element to use.
Modifying a property of a page element Ocultar los detalles
JSProperty(<Full element name>, <Property>) = <New value>
<Full element name>: Character string "JavaScript" name of element to use. In most cases, this name starts with "document.". You must use the aliases of controls. For more details, see Remarks. <Property>: Character string Property of element to modify. <New value>: Character string or integer Value of property for the element to modify. Observaciones JSProperty handles the control aliases To build the name of element name, you must know the control alias. This alias corresponds to the control name in the HTML page. To find out this alias: - in the code editor, press Shift + F11.
- use the Alias property.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|