document.getElementById('<%= lblPayslipErr.ClientID %>')
function uploadError(sender, args) { alert(document.getElementById('<%= lblPayslipErr.ClientID %>').innerHTML); <%--This works, the label text is being prompted--%> var lbl = document.getElementById('<%= lblPayslipErr.ClientID %>'); lbl.innerHTML = "Check file size or file extension."; <%--I am setting the innerHTML of the label here but it does not work.--%>
var lbl document.getElementById('<%= lblPayslipErr.ClientID %>');
var lbl = document.getElementById('<%= lblPayslipErr.ClientID %>');
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)