Java script to display partial value of the select tag : <p>I'm very new to javascript but I want to write a script for a select tag (for countries and their phone codes). I want it such that the dropdown list shows the country and code, but after the user selects only the code should be displayed. I'm using PHP to write the webpage. Thanks</p>
