c# - asp:FileUpload set filename using jquery -
i'm using <asp:fileupload> in modal pop-up form contains detail of datatable row.
i need set filename , path, in cell of datatable, in fileupload control when click on detail.
i'm using instruction:
$('#<%=mailtemplateupload.clientid%>').attr("value", template); but it's not working.
p.s.: template string containing filepath
i understand looking jquery selector fileupload?
you should
<asp:fileupload id="myfileupload"> and selector can
$("input[id*=myfileupload]") then can surely add attribute want on it.
Comments
Post a Comment