In one of my form ( jquery + html + php ) I have to check the extension of file before uploading to the server. ie. User is only allowed to upload .jpg files only and within fixed dimensions for eg: 150px X 100px. For this I will have to write a client-side validation using javascript.
In one of my form ( jquery + html + php ) I have
Share
You can’t do that in Javascript. you have to use flash based uploader like SWFUpload or Uploadify to do this.
Update:
There is one jquery upload project that I really like,
http://blueimp.github.com/jQuery-File-Upload/