Using Jquery to capture click event of <asp:FileUpload> control

Flying Pikachu

New Member
My code:\[code\]<script> $('.Upload').on("click", function () { alert("Click event found using class as identifier"); }); $('#FileUpload1').on("click", function () { alert("Click event found using ID as identifier"); });</script><asp:FileUpload ID="FileUpload1" runat="server" CssClass="Upload" />\[/code\]I'm using the latest version of Jquery(1.9) which is why I'm using \[code\].on\[/code\] instead of \[code\].live\[/code\]But neither of my alerts fire when I click the 'browse' button.Can anyone help at all ??Thanks.
 
Back
Top