Feedback

  • Contents
 

CallObject.lastErrorId Property

Definition

This property retrieves the id of the last error that occurred in the CallObject. Each time a method or property is called on the CallObject, this value is cleared.

Syntax

CallObject.lastErrorId

Usage

Read       Yes

Write       No

Value Assigned

None.

Value Returned

Integer

The id of the last error that occurred.


Example

<html>
<head>
    <script language=javascript>
        window.onload = Init();
        function Init() {
            setTimer("SetErrorInfo();", 1000);
        }
        function SetErrorInfo() {
            ErrorInfo.value = scripter.callObject.lastError;
        }
    </script>
</head>
<body>     <table>         <tr>             <td colspan=4><input name="ErrorInfo" value="No Errors" style="width:600"></input>             </td>         </tr>     </table> </body> </html>