phonecode is a jQuery plugin that automatically sets the country calling code with the corresponding flag icon to an input field for the selected country.