如果網頁的元素(element) 有設定onclick 屬性(attribute) ,點擊該元素就會觸發onClick 事件,通常會用在<input> 或<button> 元素。 舉例如下
確定! 回上一頁