basic functional ajax enable,disable and activate