HTML 參考手冊(cè)
當(dāng)松開(kāi)鼠標(biāo)按鈕時(shí)運(yùn)行腳本:
所有主流瀏覽器都支持 onmouseup 事件屬性
onmouseup 屬性在用戶(hù)松開(kāi)鼠標(biāo)按鍵時(shí)觸發(fā)。
提示: 與 onmouseup 事件相關(guān)的事件觸發(fā)順序 (左/中鼠標(biāo)按鈕):
與 onmouseup 事件相關(guān)的事件觸發(fā)順序(右邊鼠標(biāo)按鈕):
注意: onmouseup 屬性不能使用于以下元素: <base>, <bdo>, <br>, <head>, <html>, <iframe>, <meta>, <param>, <script>, <style>, 或<title>.
無(wú)。
值 | 描述 |
---|---|
script | 規(guī)定該onmouseup事件觸發(fā)時(shí)執(zhí)行的腳本。 |