Get values from multiple select boxes with same name? Including its value with jquery and php

前端 未结 4 1286
伪装坚强ぢ
伪装坚强ぢ 2020-12-19 11:36

I have looked for answers on here and have not found anything that directly can help me so I am going to ask here. I have a form with multiple select boxes:

         


        
4条回答
  •  不知归路
    2020-12-19 12:13

    Why not just give them different id's and do the count in jquery/javascript. Alternatively give them all the same class, and do .each() to grab the values in all of them.

提交回复
热议问题