title: Javascript change label's text via innerhtml not working
body: <p>I have this <code>javascript</code> function:</p>
  
  <pre><code>function validateFile() {
              var file = document.getElementById('fuCSV');
              if (file.value == "") {
                  document.getElementById('&lt;%=lblStatus.ClientID%&gt;').innerhtml = "Please select a file to upload. Client!";
                  return false;
              }
              else {
                  document.getElementById('&lt;%=lblStatus.ClientID%&gt;').innerhtml = "";
                  return true;
              }
          }
  </code></pre>
  
  <p>Its called on the Button's <code>OnClientClick</code> event like this:</p>
  
  <pre><code>&lt;asp:Button ID="btnImport" runat="server" Text="Import" OnClientClick="return validateFile();" CausesValidation = "true"
              UseSubmitBehavior ="true" OnClick="btnImport_Click" /&gt;
  </code></pre>
  
  <p>I'm trying to change the text of the label <code>lblStatus</code> on <code>validateFile()</code> method, but the text is not changing. However, while debugging...QuickWatch shows the changed value. What might be the cause for it? how can I resolve this?</p>