My form is simplest as possible just the form tag which contain an hidden
field form the max file size and the file fild with name="fichier"


With the modification proposed the fileupload seems to work, so I has send
it here to help other people with the same problem.

I tried to execute original jquery.forms code with different security level
in IE7 and with medium or low level I have no more error ... but for a
working code in all case my modification seem to be good.

"form.action.href" seem to be better than "form.action"

Hope this can help people

(sorry for my poor english)


malsup wrote:
> 
> 
> Hi lordb,
> 
> Does your form have an input element with the name "action"?  That
> could be a problem.  I'll see if I can find a generic solution for
> this situation.  Other input names that will likely cause the file
> upload code to bork are "target" and "method", and of course there is
> a long list of element names that are wise to avoid:
> 
> http://groups.google.com/group/jquery-dev/browse_thread/thread/7cc518e4b7a6978e/dc941c551ba27123#dc941c551ba27123
> 
> Mike
> 
> On 7/6/07, lordb <[EMAIL PROTECTED]> wrote:
>>
>>
>> Error correction for jquery.forms plugin
>> (http://www.malsup.com/jquery/form/)
>> Error oberved when send a form containing file field with Internet
>> Explorer
>> 7
>>
>> A possible solution to solve it :
>>
>> form.action is an object under IE7 so an error occured when the script
>> try
>> to replace it by an url
>>
>> i replaced form.action by form.action.href and that work ^^
>>
>> form.action.href = opts.url;
>> --
>> View this message in context:
>> http://www.nabble.com/jquery.forms-incorrect-object-usage-in-fileupload%28%29-with-IE-tf4030286s15494.html#a11448178
>> Sent from the JQuery mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/jquery.forms-incorrect-object-usage-in-fileupload%28%29-with-IE-tf4030286s15494.html#a11481151
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to