IE中的可以这么作吧<br><br><html><br> <title><br> </title><br> <script language=jscript><br> function getName()<br> {<br> var obj=event.srcElement;<br> if(event.button==2&&obj)<br> {<br> window.status=obj.name;<br> }<br> }<br> </script><br> <body onmousedown = 'getName();'><br> <input type = 'button' name ='aaa' value ='button' ><br> <input type = 'button' name ='aaa1' value ='button' ><br> <input type = 'button' name ='aaa2' value ='button' ><br> <input type = 'button' name ='aaa3' value ='button' ><br> <input type = 'button' name ='aaa4' value ='button' ><br> <br> </body><br><br></html>