ajax for details of componets