setTimeout returns a timer handle, which you can use to stop the timeout with clearTimeout . So for instance:
確定! 回上一頁