Easy way to add drop down menu with 1 - 100 without doing 100 different options?

前端 未结 7 1541

I was just wondering if there was a simple shortcut to add options to a dropdown menu for the numbers 1 to 100 instead of having to do the following:

7条回答
  •  情话喂你
    2021-02-01 05:45

    I see this is old but... I dont know if you are looking for code to generate the numbers/options every time its loaded or not. But I use an excel or open office calc page and place use the auto numbering all the time. It may look like this...

    | | 1 | |

    Then I highlight the cells in the row and drag them down until there are 100 or the number that I need. I now have code snippets that I just refer back to.

提交回复
热议问题