Topic: form.serialize for file input
I have to save message after regular interval to prevent loss of data in case of power failure as GMAIL does.
I am sending AJAX request after regular interval to save message and attachment.
For this, I am getting all parameters using $('form').serialize except File input.
Can anyone tell me how to get attachment (file) through serialize ?