結果 : javascript check input before submit