https://www.w3.org/TR/html4/struct/global.html#adef-idid = name [CS]
This attribute assigns a name to an element. This name must be unique
in a document.
规定唯一,就别问为什么了,不唯一,浏览器也不知道如何实现。。
【 在 lbh (GodFather) 的大作中提到: 】
: 为什么第一行的myFunc被12代替,倒数第二行的不可以呢?
: <p id = "Func"> myFunc </p>
: <script type="text/javascript">
: ...................
--
FROM 123.116.149.1