I have code like this:
var form_data = {
services: $("input[id^='campaign_cbx_']:checked").serialize(),
};
And if no campaign_cbx_something checkbox is checked i would like to have an epmty array, but in php I have array with 0 index and empty string value. How to resolve it?