Topic: form.serialize for file input

Hello,

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 ?


Thanks,
bnaidu

Re: form.serialize for file input

Just curious,  what happens when you serialize a form with a file_field in it.  Is the file_field just not there?  Is the serialize function just ignoring it?

Joe got a job, on the day shift, at the Utility Muffin Research Kitchen, arrogantly twisting the sterile canvas snout of a fully charged icing anointment utensil.