Geting info about select items

Geting info about select items

Hi, ok I start using jQuery - great job!
but my question is i have a select statment
<select id="dd">
  <option value="1" e="0"> Data</option>
  <option value="2" e="0">Another Data</option>
</select>
and a button
<input id="add" type="button" value="Add"/>
now when i cilck on button i want to generate a input like so
<input type="hidden" name="'A'" value="B"/>
whear
A = option value
B = option e
i now how to get the A but don't now the B
My code
$("#add").click(function() {
 var $id = $('#dd').val();
 $('#do').append('<input type="hidden" name="' + $id + '" value="1"/>');
});