jQuery get value of "target" attribute if it matches some string
<p>let's say I have some links</p>

<pre><code>&lt;a href="#" target="UniqueString_black"&gt;&lt;/a&gt;
&lt;a href="#" target="dog"&gt;&lt;/a&gt;
&lt;a href="#" target="duck"&gt;&lt;/a&gt;
</code></pre>

<p>How do I get the value of target attribute starting with "UniqueString_" ? The ID of  element is unknown, we need to search by matched "UniqueString" in "target"</p>

<p>I also need to attach this value as link parameter to a known element</p>

<pre><code>&lt;a id="myID" href="someurl&amp;color=black"&gt;&lt;/a&gt;
</code></pre>
