Functional buttons with buttonholes for fastening or closing clothes appeared first in Germany in the 13th century. They soon became widespread with the rise of snug-fitting garments in 13th- and 14th-century Europe. Reference: Wikipedia
Below are some examples of silver buttons which have been used throughout history.