title: How to want to get label value inside the repeater control in JavaScript variable
body: <p>I want to get label value inside the repeater control in JavaScript variable</p>
  <pre><code>&lt;asp:Repeater ID=&quot;rep_tskAttachments&quot; runat=&quot;server&quot; OnItemDataBound=&quot;rep_tskAttachments_ItemDataBound&quot;&gt;
          &lt;asp:Label ID=&quot;rlbl_Remarks&quot; runat=&quot;server&quot; Text='&lt;%# Eval(&quot;REMARKS&quot;) %&gt;'&gt;&lt;/asp:Label&gt;     
   &lt;/asp:Repeater&gt;
  </code></pre>
  <p>My Code Is</p>
  <pre><code>var valComments =document.getElementById('&lt;%=rlbl_Remarks.ClientID%&gt;').innerText;
  </code></pre>