I need insert some input fields into a form on a website.
These fields will be inserted depending on the option that the user chooses in a <select>
input.
What's the right way?
A new request with ajax to add these fields, or simply keep all possible fields hidden, and show them according to the chosen option?
(I will not make any requests to a database)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…