In an action against two or more persons who are jointly, jointly and severally, or severally liable on a contract, the court in which the action is pending has jurisdiction to proceed against such of the defendants as are served as if they were the only defendants.