[jQuery] Re: Send an image to the server with $.ajax

2007-10-12 Thread Giovanni Battista Lenoci
I've solved, the plugin creates a form in a iframe, where it clones the input file getting it by the id passed in the constructor. After line 159 I've addedd: $('input').clone().appendTo($(form)); this is the piece of code to modify: 154 { 155 // var io = $('#' + frameId); 156

[jQuery] Re: Send an image to the server with $.ajax

2007-10-12 Thread Giovanni Battista Lenoci
On Oct 11, 5:56 pm, Maggi Trymbill <[EMAIL PROTECTED]> wrote: > Hello Giovanni, > > To be able to send a file via AJAX with jQuery you need a plugin > because jQuery doesn't know how to post a file via AJAX. There is one > that works quite well, you can see the demo for it > here:http://www.p

[jQuery] Re: Send an image to the server with $.ajax

2007-10-11 Thread Maggi Trymbill
Hello Giovanni, To be able to send a file via AJAX with jQuery you need a plugin because jQuery doesn't know how to post a file via AJAX. There is one that works quite well, you can see the demo for it here: http://www.phpletter.com/Demo/AjaxFileUpload-Demo/ - I think it's not compatible with