As we all know, .serialize()
and .serializeArray()
conveniently misses file fields
(also `hidden fields).
But, Is there a work around from which I could get the value of the file field from .serialize()
?
P.S: I just intend to get the value
, not upload
the file.(Of Course, Uploading file would be better if it is possible, but I dont think JS is capable of such action)
You may checkout the jquery form plugin which supports file uploads as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With