title: get xml attribute in jquery for image parsing
body: <p>basically I am pulling the options of the select drop down from this xml snippet, I need to load these images in a div onclick of an option in the dropdown. How do I parse this image  attribute.</p>
  
  <pre><code>&lt;menu&gt;
      &lt;optionheading&gt;
          &lt;heads&gt;Heading 1&lt;/heads&gt;
                      &lt;value&gt;
                              &lt;values image='images/img1.gif'&gt;Option1&lt;/values&gt;
                              &lt;values image='images/img2.gif'&gt;Option2&lt;/values&gt;
                              &lt;values image='images/img3.gif'&gt;Option3&lt;/values&gt;
                      &lt;/value&gt;
      &lt;/optionheading&gt;
  
  &lt;/menu&gt;
  </code></pre>
  
  <p>Anybody got any Ideas. </p>