Multiple IDs, only one is working

This question already has an answer here:

  • HTML ID with numerical value not recognized by CSS 4 answers
  • What are valid values for the id attribute in HTML? 21 answers

  • An id must begin with an alphabet [a-zA-Z]. This explains why 123 is not working.

    Try changing id. Also, are you using some other framework like bootstrap?

    链接地址: http://www.djcxy.com/p/15458.html

    上一篇: document.getElementById vs jQuery $()

    下一篇: 多个ID,只有一个正在工作