您即將從本網站離開,並前往https://newbedev.com/javascript-how-to-check-if-a-button-is-clicked-in-javascript-code-example