I keep getting stuck on this one little thing. I append a checkbox and a remove button with an append button.
So every time the append button is clicked i get;
Checkbox and a remove button. T开发者_如何学编程he remove button has to remove the checkbox. My problem;
If i append a bunch of pairs, only the first pair seems to work :O !!
Thank you in advance
Make sure you are changing the name/id on the checkbox or you are using an array, for example
Checkbox 1 is named checkbox[1] Checkbox 2 is named checkbox[2]
If they have the same name, they will only come through as 1 item in the POST/GET!
精彩评论