help with click() in firefox
okay, I'm not going into very much detail, but instead I will outline what I need and for what.
I don't like the appearance of the <input type='file'> element and the textbox that accompanies the element so i like taking another element and make it call the fileupload element
<input type='file' style='position: absolute; visibility: hidden;'>
<a href="#" onclick="this.previousElement.click()">Upload</a>
i basically am giving the link the functionality to open up a file selection box. ofcourse, then ill have to get the value of the fileupload element to retrieve the file
MY PROBLEM: it doesn't work in firefox
any alternatives? solutions?
woops, it's previousSibling, not previousElement
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread