zoukankan      html  css  js  c++  java
  • *IE动态创建Radio的时候 必须先指定Name属性

    1、radio在没有name属性时是选择不了的,name属性起了对几个radio分组的作用,而checkbox没有此限制

    2、The NAME attribute cannot be set at run time on elements dynamically created with the createElement method. To create an element with a name attribute, include the attribute and value when using the createElement method.
    name属性不能在运行过程中进行变更,只能在创建时指定
  • 相关阅读:
    @雅礼集训01/13
    @hdu
    @bzoj
    @hdu
    @bzoj
    @雅礼集训01/10
    @codeforces
    @spoj
    @bzoj
    @bzoj
  • 原文地址:https://www.cnblogs.com/dwjaissk/p/623521.html
Copyright © 2011-2022 走看看