1 | style="COLOR: #FF0000;" |
1 | style="color: RGB(255, 0, 0);" |
1 2 3 4 5 6 | <body> <div> this is a white-space test! </div> <div style="white-space:pre-wrap;width:250px; border:1px solid red;"> there are many white space; </div> </body> |
1 2 3 4 5 6 | <body> <div> this is a white-space test! </div> <div style="white-space:pre-wrap;width:250px; border:1px solid red;"> there are many white space; </div> </body> |
1 | domObj.onkeydown = function(){ callFunction( event, param ); }; |
1 | domObj.setAttribute( 'onkeydown', 'callFunction( event, param );' ); |
1 2 | domObj.attachEvent('onkeydown', 'callFunction') ; domObj.detachEvent('onkeydown', 'callFunction') ; |
1 2 | domObj.addEventListener( 'keydown', 'callFunction' ,false); domObj.removeEventListener( 'keydown', 'callFunction' ,false); |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |