The "selected" keyword in the <option> HTML tag controls which value is selected in the drop-down list.
What's missing from your code is a test against your member record for each country to see if that's the one the member has chosen. The one that matches your member record should have the "selected" keyword and the other <option> tags shouldn't.
Bruce Luckcuck
Director, Applications & Support Services
Wiley Publishing, Inc.
|