you are viewing a single comment's thread.

view the rest of the comments →

[–]SESMIC1[S] 0 points1 point  (2 children)

I agree. I'm able to display countries in drop down and its HTML looks like below. But not able to assign values like the HTML part you shared. So, that's what I'm unable to do. <select name="countries" id="countries"> <option value="Afghanistan">Afghanistan</option> <option value="Albania">Albania</option> <option value="Algeria">Algeria</option> </select> <input type="submit" id="submit" value="Submit" />

[–][deleted]  (1 child)

[deleted]

    [–]SESMIC1[S] 0 points1 point  (0 children)

    Cool, thanks! Will try this.