求asp中鼠标点击触发事件的定义格式
发布网友
发布时间:2023-08-27 13:22
我来回答
共2个回答
热心网友
时间:2024-11-16 17:29
Not valid in base, bdo, br, frame, frameset, head, html, iframe, meta, param, script, style, title elements.
在 base, bdo, br, frame, frameset, head, html, iframe, meta, param, script, style,和 title 元素里都无效. Attribute Value Description
onclick script What to do on a mouse click [单击时...]
ondblclick script What to do on a mouse double-click [双击时...]
onmousedown script What to do when mouse button is pressed [按下时...]
onmousemove script What to do when mouse pointer moves [移动时...]
onmouseout script What to do when mouse pointer moves out of an element [鼠标移开元素时]
onmouseover script What to do when mouse pointer moves over an element [鼠标在元素上方时]
onmouseup script What to do when mouse button is released [鼠标释放时]
热心网友
时间:2024-11-16 17:29
在<head>中写入触发的脚本function
在触发的控件中添加一个onclick="funtion name()"的属性就行。