Intapp interview question

how to use push button for input in JS.