How can I put a value(like: 5 or Etc.) Inside the INPUT => NAME on the checkbox(...name="checkbox[HERE][]"...) after click on button by jQuery?
Html:
<input type="checkbox" name="checkbox[/*HERE*/][]">
Please give me an example in http://jsfiddle.net/ .
js Fiddle Demo
use
.propbecause node name is a property. http://api.jquery.com/prop/