Ajax save for all tab