Home > front end >  This ID is used in the two elements?
This ID is used in the two elements?

Time:09-18


This figure is the ID name


I give these two places can use only the above, the following no,

This is WeChat web JSSDK pay calls!

CodePudding user response:

Id in the page is the only, $(' # id) will only select the first element to this id, it is recommended to use a class

CodePudding user response:

A page can have only one name is BuyKino id, has uniqueness

CodePudding user response:

Already spoke above problems

You can give our two outer add a div and then use the id
The two can be

CodePudding user response:

ID under current dom supports only one, it is recommended to use a class

CodePudding user response:

Id is a unique identifier, the proposal to the class,
  • Related