Multiselect ddl and textbox.

1)whenever i am selecting ddl item and put email in text box for each item manually . i want to add ',' before second email id put in text box. 

2) if i am unselecting perticular item form ddl that time regarding textbox email is remove from textbox.

3) i have Email3 and Email4 hardcoded text.