serialize form exclude file input code example Example: serialize form exclude file input $("#myForm :input[value!='']").serialize() // does the job!