[jQuery] Re: MultiFile plugin not overwriting default options

2009-02-26 Thread Leonardo K
I just reproduce your code here and works like a charm.

On Thu, Feb 26, 2009 at 08:22, phipps73  wrote:

>
> bump
>
> has anyone seen this problem?
>
> Cheers,
>
> Dave
>
> On Feb 25, 3:26 pm, phipps_73  wrote:
> > Hi,
> >
> > I was previously using version 1.29 of the MultiFile plugin and it was
> > working. Then I upgrade to jquery-1.3.1 and since then the MultiFile
> > plugin seems to fail to apply any options. I have upgraded to the
> > latest version of the MultiFile plugin and it still is not working.
> >
> > I have the following call in my document.ready:
> >
> > $('#frmEmailFrm input:file').MultiFile({max: 5,namePattern:'$name_
> > $i',STRING:{remove:'Remove'}});
> >
> > It allows me to add more than 5 files, the namePattern stays as just
> > $name and the remove string stays as 'x'.
> >
> > My input file has a name of 'attfile_' and so as each file is added it
> > should become:
> >
> > attfile_
> > attfile_1
> > attfile_2
> > attfile_3
> > attfile_4
> >
> > Is there something I have done wrong?
> >
> > Cheers,
> >
> > Dave
>


[jQuery] Re: MultiFile plugin not overwriting default options

2009-02-26 Thread phipps73

bump

has anyone seen this problem?

Cheers,

Dave

On Feb 25, 3:26 pm, phipps_73  wrote:
> Hi,
>
> I was previously using version 1.29 of the MultiFile plugin and it was
> working. Then I upgrade to jquery-1.3.1 and since then the MultiFile
> plugin seems to fail to apply any options. I have upgraded to the
> latest version of the MultiFile plugin and it still is not working.
>
> I have the following call in my document.ready:
>
> $('#frmEmailFrm input:file').MultiFile({max: 5,namePattern:'$name_
> $i',STRING:{remove:'Remove'}});
>
> It allows me to add more than 5 files, the namePattern stays as just
> $name and the remove string stays as 'x'.
>
> My input file has a name of 'attfile_' and so as each file is added it
> should become:
>
> attfile_
> attfile_1
> attfile_2
> attfile_3
> attfile_4
>
> Is there something I have done wrong?
>
> Cheers,
>
> Dave