Home  >  Q&A  >  body text

javascript - There are more than 10 divs using the daterangepicker plug-in on the same page. When I click a custom selection time, all the inputs change. What's going on?

Now the project has more than 10 places where the time range needs to be selected. The plug-in used is daterangepicker. Now you click the custom button and the time in the input will change according to the click. But when selecting the time, only one of them needed to use this plug-in. place, so only one input has changed. Now there are more than 10 places tied to this plug-in. A custom button below is clicked. All inputs will change. What should I do? It is not like initializing more than 10 p and then writing more than 10. method

淡淡烟草味淡淡烟草味2733 days ago484

reply all(1)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-05-19 10:41:35

    ng-modal has only 10 different values.

    reply
    0
  • Cancelreply