Ajax set action.