結果 : get value from input field javascript stack overflow