title: Want to access literal value into javascript
body: <p>I have got a literal control on page (with some data on it). i want to access it in javascript and want to put some text on it. please tell me how can i access literal control in JavaScript. I was trying with following code-</p>
  
  <pre><code>&lt;asp:Literal  ID="lblPerInstanceListing" runat="server"&gt;&lt;/asp:Literal&gt;
  </code></pre>
  
  <p>Javascript: </p>
  
  <pre><code> var value= document.getElementById('&lt;%=lblPerInstanceListing.ClientID %&gt;')
  </code></pre>
  
  <p>I am getting null value return by this.</p>