title: JQuery - Getting an attribute value from a variable
body: <p>I'm trying to get the href attribute from a div with the class name 'download'.  I know I could use the following to access it from the DOM:</p>
  
  <p>I know you can use <code>$(".download").attr("href");</code></p>
  
  <p>However, the html doesn't exist in the DOM yet, its only in a variable.</p>
  
  <p>Is there a way to get from href from a variable?</p>