Taking a relative url and forwarding it to a subdomain using jquery
<p>I'm wondering if it's possible to take all <code>&lt;a&gt;</code> tags inside a div and have them open in a new window which uses a subdomain. Here's what I'm working with:</p>

<pre><code>&lt;div id="workshops"&gt;
&lt;a href="/_product_119808/Test_Workshop"&gt;Test Workshop&lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>I would like to have the Test Workshop link open up in a new window but also use a subdomain. So the link in the new window would be:</p>

<blockquote>
  <p><code>http://workshops.mydomain.com/_product_119808/Test_Workshop</code></p>
</blockquote>

<p>Is this possible?? Thanks in advance!</p>
