I am pretty much completely new to jQuery and I have a quick question regarding getting certain attributes.
I want to allow file uploads via one particular form, however I would like it if the form could be handled in the same way all other forms are on this project (they are not submitted using HTML, all is done using jQuery and $.post)
I am not sure if this is even possible, but is there a way of grabbing the file contents, size and type from within jQuery - doing something like...
Code:
alert($("#file").val());
Return the filename but nothing else (unless this is the first element of an array, and if so how do I access the other elements?
Cheers in advance.