Below is my aspx page code which contains a file uploader and I need to remove the label messages while choosing the file it self.
How can I do this?
<asp:FileUpload ID="FileUpload1" runat="server"/>
I tried this with the events for fileuploader but they are not working.
you need to add onchange
on to fileupload
<asp:FileUpload ID="FileUpload1" runat="server" onchange="callme();" />
and then, create a JS function to clear your messages
function callme() {
document.getElementById("your message label id").value= "";
}
I didn't test, but this should do what you want.
How we can insert header and footer in google docs with google docs api using PHP code
Writing a new and appending a file in PHP without erasing contents
How to combine 2 arrays with the condition that 2 and 5 values will be from the second array?
How to keep the ?error on url if page extension not included?
Cannot find the answer after my research, help me with mysql [duplicate]
is there any option to detect once visitor click again on the :focus element?
I've started to learn html and css and encountered some misunderstanding
I have validation for 2 fields which are country code and actual mobile numberI have attached screenshot