Change disable method to ajax