Cannot append to unordered list in select's change function??

Cannot append to unordered list in select's change function??

  1. $("#version_select").change( function() {
  2. $('#listval').append('<li>'+ $(this).val() +'</li>');
  3. });
Very simply: I have an unordered list on my page with the id of "listval" and a dropdown menu with the id of "version_select".  I know that I am getting the value in the change function because I can alert it out and see it using " alert $(this).val(); ", but I can not append it to my list.  Why not?  How?

Thanks,
Mark