[jQuery] Re: File inputs

2008-02-01 Thread Steffan A. Cline
on 2/1/08 2:13 AM, Mika Tuupola at [EMAIL PROTECTED] wrote: > > > On Jan 31, 2008, at 5:59 PM, Steffan A. Cline wrote: > >> Works in FF-Mac, Safari-Mac, IE6&7-PC >> >> I wish this could be incorporated into the jQuery plugin. I am not >> that well >> versed yet enough to do this. While basic i

[jQuery] Re: File inputs

2008-02-01 Thread Mika Tuupola
On Jan 31, 2008, at 5:59 PM, Steffan A. Cline wrote: Works in FF-Mac, Safari-Mac, IE6&7-PC I wish this could be incorporated into the jQuery plugin. I am not that well versed yet enough to do this. While basic it could be done to have a dummy field that strips the path and shows just the

[jQuery] Re: File inputs

2008-01-31 Thread Steffan A. Cline
on 1/31/08 1:52 AM, Diego A. at [EMAIL PROTECTED] wrote: > > I've tried for a long time to do this and as far as I know: it just > can't be done. Perhaps the next generation of browsers will allow us > developers to call the file seclection box like this > "window.chooseFile", just like we can u

[jQuery] Re: File inputs

2008-01-31 Thread Diego A.
Actually, this method seems good enough to me: http://www.quirksmode.org/dom/inputfile.html ...specially with the forced IE6 updated coming soon. On Jan 31, 8:52 am, "Diego A." <[EMAIL PROTECTED]> wrote: > I've tried for a long time to do this and as far as I know: it just > can't be done. Perhap

[jQuery] Re: File inputs

2008-01-31 Thread Diego A.
I've tried for a long time to do this and as far as I know: it just can't be done. Perhaps the next generation of browsers will allow us developers to call the file seclection box like this "window.chooseFile", just like we can use "window.prompt"... If this does turn out to be possible, eventual

[jQuery] Re: File inputs

2008-01-30 Thread Hamish Campbell
Ah, I see. Maybe have a look at the uploader plugin? Otherwise, I think you're stuck :/ On Jan 30, 5:11 pm, "Steffan A. Cline" <[EMAIL PROTECTED]> wrote: > on 1/29/08 7:58 PM, Hamish Campbell at [EMAIL PROTECTED] wrote: > > > > > > > Some code would be useful - you've said that .click() doesn't

[jQuery] Re: File inputs

2008-01-30 Thread Mika Tuupola
On Jan 30, 2008, at 6:11 AM, Steffan A. Cline wrote: Well, I tried many variations of .click() with FF and according to this link: http://www.quirksmode.org/dom/inputfile.html Yes, it is not possible to programmatically trigger click event on file input. But still, I would suggest you

[jQuery] Re: File inputs

2008-01-29 Thread Steffan A. Cline
on 1/29/08 7:58 PM, Hamish Campbell at [EMAIL PROTECTED] wrote: > > Some code would be useful - you've said that .click() doesn't work in > FF, but it probably isn't the .click() bit that isn't working. > > One suggestion (untested) is that you include both the normal button > and the new image

[jQuery] Re: File inputs

2008-01-29 Thread Hamish Campbell
Actually, I just went a re-read the thread and I have NO idea what it is you're trying to achieve. On Jan 30, 8:01 am, "Steffan A. Cline" <[EMAIL PROTECTED]> wrote: > on 1/29/08 11:57 AM, Mika Tuupola at [EMAIL PROTECTED] wrote: > > > > > > > > > On Jan 29, 2008, at 7:08 PM, Steffan A. Cline wrot

[jQuery] Re: File inputs

2008-01-29 Thread Hamish Campbell
Some code would be useful - you've said that .click() doesn't work in FF, but it probably isn't the .click() bit that isn't working. One suggestion (untested) is that you include both the normal button and the new image, but hide the image with CSS by default. This means that if JS is disabled, t

[jQuery] Re: File inputs

2008-01-29 Thread Steffan A. Cline
on 1/29/08 11:57 AM, Mika Tuupola at [EMAIL PROTECTED] wrote: > > > On Jan 29, 2008, at 7:08 PM, Steffan A. Cline wrote: > >> I know there is a plug-in for styling file inputs but what about >> using a >> custom image instead? I need to do something where I have an ADD and a >> DELETE button s

[jQuery] Re: File inputs

2008-01-29 Thread Mika Tuupola
On Jan 29, 2008, at 7:08 PM, Steffan A. Cline wrote: I know there is a plug-in for styling file inputs but what about using a custom image instead? I need to do something where I have an ADD and a DELETE button side by side. I tried this using .click() and it worked flawlessly but alas FF do