kasparkuldkepp / upload-at-click

Automatically exported from code.google.com/p/upload-at-click
0 stars 0 forks source link

Trying to use with onmousedown #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,
First of all I really love your method and it has made my life much easier with 
this. My only issue is that my website has a upload button which changes its 
Class cSS by mouseDown and up for example:

<div id="uploader" class="umouseup" onmousedown="this.className='umousedown'" 
onmouseup="this.className='umouseup';">
(this works when the ID is set to something else)

so my only issue is how can I have them both work? Im using your most basic 
example and I have set the ID to "uploader" and it works brings up the file 
browser but the on mousedown the css wont change. I would really like it to 
have the uploader to be triggered when the mouseup is triggerd. I tried this 
but I couldn't trigger your "upclick".

Please help me find a solution to this.

Original issue reported on code.google.com by smbat.ye...@gmail.com on 8 Nov 2011 at 8:20