Multi tab select examples

Multi tab select examples

Hi I need to select multiple tabs at on time and also can deselect them. The tabs I select should get appended to a hidden text field. Can somebody send few examples or code for it? Something similar to attached images.