I have a regular input text:
<form>
<input type="text" oninput="sendInput()" />
</form>
I want to send what the user typed in the box into the typescript file (without a submit button or something) when the user has finished typing, send the input to the typescript.
I try with this code but it's not working.