結果 : how to collect input in javascript