<script type="text/javascript"> function clear() { if ($.browser.msie) { //To clear the file uploader var who = document.getElementsByName('<%= fileID.UniqueID %>')[0]; who.value = ""; var who2 = who.cloneNode(false); who2.onchange = who.onchange; who.parentNode.replaceChild(who2, who); //========= } } </script>
<div id="upload-area"> <asp:FileUpload ID="fileID" runat="server" Width="427px" onclick="clear()"/> </div>
Quote: I need to know, which button (OK / Cancel) is being pressed in the file upload
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)