Posted on: 12/25/2013 9:15:04 PM | Views : 892

I want to write a Javascript client side to change a FileUpload control background to red when empty instead of the "No selected file" and to green when there is a file selected.
The File Upload control markup is
<asp:FileUpload ID="AttachmentsSelecter" runat="server" Width="500px" BorderColor="Black" BorderStyle="Solid" Height="35px" BackColor="White" BorderWidth="2px" style="margin-left: 4px; font-size: 22px; font-family: Tahoma;" CssClass="FileUploadStyle" />

Go to the complete details ...