Monday, November 24, 2008

2 letter country code select box

Ever had a need to get 2 letter country codes in a nice prepackaged select box?

Here's the link: SelectBox

However if you copy-paste it into a text editor, you get line numbers that appear on the left. Here's the workaround.

1. Open a Spreadsheet application (OpenOffice Calc e.g)
2. Copy-paste from the website into the spreadsheet.
3. Select the cells and then paste them into the text editor.

voila!

No comments:

Post a Comment