I have several inputs in a form, but what I want to achieve is to send only the ones who have at least 1 character (alphanumeric), but for those who have empty or whitespace values must not be sent. The problem is that when a user sends a whitespace by mistake by pressing the spacebar it serializes a plus sign (+).
So far this is what I do to send serialized non-empty values.
//this will print a query string with the values, but for whitespaces it sends '+' signs.
$('#myform').find('input').not('[value=""]').serialize();