title: Retrieve values from string using javascript. ( String is piece of HTML )
body: <p>I am a C# developer. My clientside javascript skills are very low.</p>
  
  <p>In javascript I have a string value. That contains the following:</p>
  
  <pre><code>&lt;div id="foo" data-redirectURL="bar"&gt;
      &lt;div&gt;Lorem Ipsum&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>How do I retrieve the value of <code>data-redirectURL</code> in this case: "bar" ?</strong></p>