on click id and on click details has done