I have a ajax code link and I need the values that appear to be dynamic, eg:
In the link that I put has 3 inputs and in js I created it for only 1, if I put it to all it would send normally
checkbox:$($("#checkbox input")[0]).prop("checked")?$($("#checkbox input")[0]).val():'',
I just need these values to be dynamic, that is, I do not need to put 1 by 1. I would only put 1. that it would assign the value of each input automatically without having to re-tune that code.
Is it possible and how can I resolve this?
I'm waiting for you