Home  >  Article  >  Web Front-end  >  Let's talk about the usage of div ID

Let's talk about the usage of div ID

巴扎黑
巴扎黑Original
2017-06-14 15:37:443256browse

1. Problem background: Given an array object, which contains the id of p; loop to generate p elements and assign values ​​to the id 2. Implementation source code AngularJS dynamically generates the ID of p