first, it would be better jquery technique to bind your img outside of
the onclick

$('#imgID').click(function(){
         $('#logo').click();
});

what function is executed when you trigger the click event on the logo
input?

On Jan 6, 5:46 pm, "Steffan A. Cline" <[EMAIL PROTECTED]> wrote:
> Running into something strange. I have an image with an onclick handler that
> calls on a hidden <input type="file" id="logo" ....> via
> <img src="xx" onclick="$('#logo').click()">
> This works flawlessly in Safari, IE 6 & 7 but not in FF Mac (not sure about
> PC). Any ideas?
>
> Also, what is the best way when taking this approach? I have it where the
> file input is in a div. I initially tried using display:none for the
> container div but the file inputs stopped working. I changed the div to
> visibility:hidden and height: 0px and it works (with the exception above)
> anyone have a better suggestion on how to hide these inputs better?
>
> I am using jquery 1.1.3.1
>
> Suggestions?
>
> Thanks
>
> Steffan
>
> ---------------------------------------------------------------
> T E L  6 0 2 . 7 9 3 . 0 0 1 4 | F A X  6 0 2 . 9 7 1 . 1 6 9 4
> Steffan A. Cline
> [EMAIL PROTECTED]                             Phoenix, 
> Azhttp://www.ExecuChoice.net                                 USA
> AIM : SteffanC          ICQ : 57234309
> YAHOO : Steffan_Cline   MSN : [EMAIL PROTECTED]
> GOOGLE: Steffan.Cline             Lasso Partner Alliance Member
> ---------------------------------------------------------------

Reply via email to