When you click the server control Button, you do not run the server-side code, just run JavaScript code.

xiaoxiao2021-03-06  69

Bt_func.attributes.add ("onclick", "JavaScript: Yourjsfunc (); return false;")

oral

Bt_func.attributes.add ("onMouseDown", "JavaScript: Event.cancelbubble = true; event.returnvalue = false; return false;")

转载请注明原文地址:https://www.9cbs.com/read-109591.html

New Post(0)