Question:
I have a form and I don't want to "serialize" the checkbox input's , so I tried some options such as below:
var form = $('#service-item-form :not(:input[type="checkbox"])').serialize();
But unfortunately it doesn't work! I would like to know what I can try to do to resolve this issue.
Answer:
Try the following:
var form = $('#service-item-form')
.find('input, textarea, select')
.not(':checkbox')
.serialize()