.get from select box

.get from select box

Hello all,
My first message here. I wish it wasnt a question.

Can any of you tell me what is wrong with my code. I get stored addresses loaded from the database. I wanted to make the process smoother with JQUERY.

this address returns the results
test.asp?Process=xxx&QUERY=address

For example:
test.asp?Process=xxx&QUERY=myshippingaddress2
Gorkem Nuratli
59th street
Apt #438
New York City NY 10011
US


<script type="text/javascript">
   function CC(){
      $.get("test.asp?Process=xxx", { QUERY: $("#CUSTOMERDETAILNAME").val() }, function(data){
         $("div#StoredData").html(data);
      });
   }
</script> 
<div class="optional">
  <label for="StoredData"></label>
  <select name="StoredData" class="selectOne">
    <option value="" selected="selected">---------------</option>                       
    <option value="myshippingaddress2">myshippingaddress2</option>
    <option value="myshippingaddress" id="CUSTOMERDETAILNAME" onChange="CC();">myshippingaddress</option>
    <option value="mybillingaddress" id="CUSTOMERDETAILNAME" onChange="CC();">mybillingaddress</option>
    <option value="kartim" id="CUSTOMERDETAILNAME" onChange="CC();">kartim</option>
  </select>
</div>
<div id="StoredData"></div>