Afghanistan
Your code is fine. Here's a demo : http://jsfiddle.net/hKktc/1/
The reason you're not getting a value for the second alert call is because the attribute prefix doesn't exist for the select and only exists for the option
prefix
select
option