title: why I can't get value of label with jQuery and JavaScript?
body: <p>I have a usual label</p>
  <pre><code>&lt;label class=&quot;mytxt&quot;  style=&quot;color: #662819;&quot; id =&quot;telefon&quot;&gt;&lt;/label&gt;
  </code></pre>
  <p>I am <strong>setting</strong> a value like this:</p>
  <pre><code>document.getElementById('telefon').innerHTML = userDetails.phone;
  </code></pre>
  <p>after a label has some value like <code>&quot;123&quot;</code>.</p>
  <p>In a <strong>pagesource</strong>, I have a label without setted value inside &quot;&gt;&lt;&quot; but I see as output it alright:</p>
  <pre><code>pagesource: &lt;label class=&quot;mytxt&quot;  style=&quot;color: #662819;&quot; id =&quot;telefon&quot;&gt;&lt;/label&gt;
  </code></pre>
  <p>My problem is when I like to <strong>GET</strong> a value.
  I tried <em>standards</em> like:</p>
  <pre><code>value = $(&quot;#telefon&quot;).val(); 
  document.getElementById('telefon').value 
  </code></pre>
  <p>Nothing works, value is always &quot;not defined&quot;. Why is this so, even if I see it in the browser?</p>