I\'m doing a loop through few input elements of \'checkbox\' type. After that, I\'m adding values and checked attributes to an array. This is my code:
var st
This is really easy: Example
//my object var sendData = {field1:value1, field2:value2}; //add element sendData['field3'] = value3;