# Valid Property The Valid property indicates if the icon is valid. Syntax
    [bool=] document.all["id_name"].Valid
Possible Values
    Boolean value that retrieves whether the icon control
    is valid.
The property is read only. Remarks None. Examples The following example shows the Valid property when the link is clicked.
    <html>
    <head>
    <SCRIPT TYPE="text/javascript">
    function ShowProp()
    {
       alert(SKFileIcon.Valid);
    }
    </SCRIPT>
    </head>
    <body>
    <OBJECT ID="SKFileIcon" width="16" height="16"
    CLASSID="CLSID:802B4DFC-E0AD-40DC-BFC2-EF5CB99E1291">
      <PARAM NAME="Text" VALUE="Optional text">
      <PARAM NAME="Path" VALUE="c:\programs\sitekiosk\sitekiosk.exe">
      <PARAM NAME="Small" VALUE="0">
      <PARAM NAME="Opened" VALUE="1">
      <PARAM NAME="Selected" VALUE="0">
    </OBJECT>
    <br><br>
    <a href="javascript:ShowProp()">Show Valid property</a>
    </body>
    </html>
Applies to SiteKiosk v5.5 (and later versions). Back to top