Typescript Get Input Text Value Javascript Function Examples