Click in the input field, then hold down the Shift key and click in the input field again:
Note: The getModifierState() method is not supported in Safari 10 or IE 8 and earlier versions.