Dobry den.
Subory uploadujem pomocou:
<input name="userfile[]" type="file" multiple="multiple" />
dalo by sa to riesit tak, ze by ten tag nebol v form ale by som to odoslal pomocou jquery? Ide mi o to aby pri uploade nedoslo ku presmerovaniu na stranku upload.php. Myslim to takto:
$.ajax({
type: "POST",
url: "upload.php",
data: { files: ......}
Co treba vlozit do "data"? Da sa to vobec?
Dakujem.