How may I obtaining value of label element using substring in label's for attribute using jQuery?
<p>I am trying to obtain the value of label elements using jQuery (or javascript). The only search term I have is a substring of the label element's for attribute. In the example code shown below, this would be 'Okuku'.</p>

<pre><code>&lt;label class="required" for="Nigeria-Osun-Okuku"&gt;The Township of Okuku&lt;/label&gt;
</code></pre>

<p>The Script:</p>

<pre><code>$("label[for='Nigeria-Osun-Okuku']").text();
</code></pre>

<p>would return </p>

<blockquote>
  <p>The Township of Okuku</p>
</blockquote>

<p>but I don't have the complete 'for' value: Nigeria-Osun-Okuku <strong>but the last substring of it: 'Okuku'</strong>. </p>

<p>How can I script to search, match and <strong><em>return: The Township of Okuku</em></strong> ? Thanks</p>
