ajax for select type page