# HasText Method The HasText method returns whether the clipboard contains text. Syntax
    [bool=] SiteKiosk.Clipboard.HasText()
Return Value Returns a boolean value that indicates whether the clipboard contains text. Remarks None. Examples The following example determines whether the clipboard contains text and shows it in an alert window.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    if (SiteKiosk.Clipboard.HasText())
    {
      alert("Clipboard contains text");
    } else alert("Clipboard contains no text");
    </SCRIPT>
Applies to SiteKiosk v5.5 (and later versions). Back to top