HighDots Forums  

javascript per fare il post di un file

Javascript (Italian) Il linguaggio JavaScript (it.comp.lang.javascript)


Discuss javascript per fare il post di un file in the Javascript (Italian) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gufo Rosso
 
Posts: n/a

Default javascript per fare il post di un file - 12-25-2007 , 10:11 PM






<form enctype="multipart/form-data">
<input type="file" name="lou" size="40" class="textbox" />
<input type="button" name="Submit" value="Send Form" class="button"
onclick="xmlhttpPost('"scarica.php"','p0',cucu())" />
</form>
cosa devo mettere in cucu() per prendere file ?


Reply With Quote
  #2  
Old   
Gufo Rosso
 
Posts: n/a

Default Re: javascript per fare il post di un file - 12-30-2007 , 01:06 PM






Alessandro Pellizzari ha scritto:
Quote:
Il Wed, 26 Dec 2007 03:11:30 +0000, Gufo Rosso ha scritto:

form enctype="multipart/form-data"

method="post"

input type="file" name="lou" size="40" class="textbox" /> <input
type="button" name="Submit" value="Send Form" class="button"
onclick="xmlhttpPost('"scarica.php"','p0',cucu())" /> </form
cosa devo mettere in cucu() per prendere file ?

Niente. Non lo puoi fare.

Ci sono workaround come mettere un iframe o usare flash per l'upload.

Bye.
scusando l'errore di invio

solo x firefox
http://www.captain.at/ajax-file-upload.php


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.