Home  >  Q&A  >  body text

javascript - How to dynamically assign IDs when exporting multiple pieces of data?


When you click Export, you need to export all the data shown below.
Each piece of data has an ID.
How to assign the displayed ID result set to the onclick hyperlink.

Excuse me arrs=? of? How to fill in the data for account change?

阿神阿神2686 days ago645

reply all(2)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-06-12 09:26:05

    arrs=1&arrs=2&arrs=3...
    When you get the parameters, you can get the array arrs=[1,2,3...]

    reply
    0
  • 黄舟

    黄舟2017-06-12 09:26:05

    Can you write a function in the question mark?
    Use js to get the jquery objects of all form items and then each gets the id and returns

    reply
    0
  • Cancelreply