結果 : how to check empty input in javascript