auto disable input and link with ajax call to prevent fire double action