[jQuery] .click()

[jQuery] .click()


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
Steffan@ExecuChoice.net Phoenix, Az
http://www.ExecuChoice.net USA
AIM : SteffanC ICQ : 57234309
YAHOO : Steffan_Cline MSN : steffan@hldns.com
GOOGLE: Steffan.Cline Lasso Partner Alliance Member
---------------------------------------------------------------