点击运行
点击按钮来获得 button 元素的文本内容。
试一下
注释:
Internet Explorer 8 以及更早的版本不支持此属性。
运行结果