Ad

How Can I Upload Files Without Using An HTML
?

- 1 answer

in a web application I am building I need to upload photos without using a form, otherwise it will come up with form embedded in an outer from which is not permitted in XHTML.

I think uploading files is what jQuery.post should be able to do, but I currently can't figure out how to do this using jQuery.

Ad

Answer

take a look at swfupload, it's a pretty nifty little app that should accomplish what you want. otherwise, you could separate out the forms, and just use css/javascript to reposition them if necessary.

Ad
source: stackoverflow.com
Ad