結果 : how to change onclick function in javascript