Afghanistan
What is it you are expecting exactly?
I find that the second alert - alert( $(this).attr('prefix') ); is the one causing a problem. As is, you get an alert of the prefix number, then an alert of null (caused by the second alert).
alert( $(this).attr('prefix') );