扫码下载编程狮APP
<!DOCTYPE html> <html> <head> </head> <body> <span id="test">test</span> <script type='text/javascript'> var test = document.getElementById('test'); test.foo = function() { this.style.color = 'red' } test.foo() </script> </body> </html>
The code above is rendered as follows:
联系方式:
扫描二维码
下载编程狮App
扫码关注 领资料包