$(document).ready( function(){ $('#<%= FileUpload1.ClientID %>').change(function(){ if($('#<%= FileUpload1.ClientID %>').val()) { $('#<%= Button1.ClientID %>).attr('disabled',false); } }); });
$(document).ready( function(){ $('input:file').change( function(){ if ($(this).val()) { $('input:submit').attr('disabled',false); } } ); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)