Select2

To handle select2 elements new select2 function is written. It types and select the first occurance of auto complete result. It is generalised to be used for most of select2 element that gives auto generated result.