|
|
|
|
|
Allows you to handle the JavaScript properties of the browser event that triggered the code execution. For example: - read a JavaScript property of the event.
- assign a value to a JavaScript property of the event.
This is an advanced function, requiring a good knowledge of JavaScript.
nXPos is int = JSInfoEvent("customerX")
Sintaxis <Result>: Variant Property value. <Property>: Optional character string Property to use. If this parameter is not specified, JSInfoEvent retrieves the object directly. JSInfoEvent can be used as an argument of a browser procedure written in JavaScript. <Property>: Character string Property to use. Observaciones - The "event" objects differ according to the browsers. Some properties are not available for all browsers.
- The event that triggered the execution of the code may not be available. Before using this event, we recommend that you check its existence with the following line of code for example:
IF JSInfoEvent() THEN ...
- In WEBDEV processes entered directly in Javascript, the JSInfoEvent function must not be used: the Eventobject must be used directly.
- The JSInfoEvent function is only available in a browser code event, called directly. JSInfoEvent is not available:
- in browser procedures.
- in browser events called directly or indirectly from a browser procedure (via the ExecuteProcess function, for example).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|