A hearing was granted by this court in the above-entitled action after the District Court of Appeal had dismissed proceedings following the issuance of a writ of certiorari, by which the petitioner Estrin sought to have reviewed proceedings theretofore had in the Superior Court on a trial de novo, after an appeal had been taken to that court from a justice’s court. On the return day the respondents filed a demurrer to the petition, together with a motion to dismiss the certiorari proceedings for the reason that the *672 petitioner had failed to file a certified transcript of the proceedings sought to be reviewed, as required by a direction of the District Court of Appeal, pursuant to the provisions of sections 1070 and 1071, Code of Civil Procedure. The dismissal was granted on the grounds advanced in the motion. No ruling was made on the demurrer to the said petition, and the hearing herein was granted in order to give further consideration to the contention of the petitioner that, inasmuch as the filing of the demurrer had the effect of admitting the facts set forth in his petition, he was not required to provide the appellate court with a transcript of the proceedings had in the trial court.
That contention must be upheld. In the ease entitled
Bryant
v.
Superior Court,
16 Cal. App. (2d) 556, 566 [
Passing to a consideration of the averments of the petition, —in the light of the effect of the demurrer,—from the facts set forth therein it appears that: On or about September 3, *673 1937, the plaintiff, Novelty Electric Sign Company, a corporation, filed an amended complaint in an action pending in the justice’s court, in which the petitioner herein was named as defendant. By the allegations of the complaint the plaintiff sign company stated a cause of action for the recovery of a judgment against the defendant in the sum of $556.20, based upon an agreement in writing made and entered into between the plaintiff and the defendant on or about the 15th day of September, 1936, by the terms of which agreement the plaintiff agreed to construct and sell to the defendant a Neon electric sign, and to install the same upon the premises operated by the defendant under the name of Estrin’s Style Shop. It was further alleged that the defendant agreed to pay to the plaintiff as consideration for the agreement the total sum of $556.20, within thirty-five days after completion and installation of the sign, but that no part of such sum had been paid. The complaint also contained a separate cause of action against the defendant for recovery of the sum of $125, which, it was alleged, represented the cost of work, labor and services furnished by the plaintiff to the defendant at the latter’s instance and request.
In his answer to the complaint the defendant admitted the execution of the said written agreement for the purchase by him of an electric sign, but alleged that the sign thereafter installed by the plaintiff did not comply with certain specifications with respect to quality, as set forth in the agreement, and, further, that it was not installed in accordance with the terms of the said agreement. After trial was had in the justice’s court on those issues, judgment was rendered in favor of the defendant. Thereupon the plaintiff sign company filed its appeal in the Superior Court, and a trial de novo was had therein, the court sitting without a jury. The Superior Court made findings in favor of the appellant sign company and rendered its judgment in accordance therewith. Thereafter the defendant made a motion for a new trial, which the court denied.
The findings recited that: “ . . . plaintiff agreed to construct and sell to defendant a Neon electric sign and to install said sign on the premises operated by defendant in Sacramento, California, and service the same for a period of one year after installation; that plaintiff did construct and install a Neon electric sign, . . . and said sign as finally *674 installed, was accepted by defendant and used continuously by him since the date of installation”; that, as agreed upon with said defendant, and “for a period of one year after installation”, the plaintiff “serviced said sign and kept the same in operating condition during said period”; and that the “reasonable value of the construction, installation and servicing of the sign is the sum of $517.20”. The court also found that all the allegations in the answer of the defendant which were inconsistent with the foregoing findings were “untrue and unsupported by evidence”.
The principal contention of petitioner herein is that the Superior Court exceeded its jurisdiction in rendering a judgment based on a finding as to the “reasonable value of the construction, installation and servicing of the sign”, whereas the complaint set out a cause of action on an express contract. Petitioner asserts that at the trial he objected to the reception of evidence relating to an implied contract; that findings based thereon were wholly outside the issues presented by the pleadings and, therefore, that the making of such findings was in excess of the court’s jurisdiction. On the other hand, the respondents contend that the matters complained of by petitioner did not amount to the performance of acts in excess of the court’s jurisdiction, but that, at most, they merely constituted error on the part of the Superior Court in pursuance of its authority to act in the matter (Code Civ. Proc., see. 1074). If the latter contention is correct, the demurrer should be sustained and the judgment affirmed.
It is well settled that the writ of
certiorari
will not lie unless it can be said that the inferior tribunal has
exceeded
its jurisdiction. (Code Civ. Proc., sec. 1068.) As was said in the ease entitled
Howe
v.
Superior Court,
To the same effect is the case entitled
McLaughlin
v.
Industrial Acc. Com.,
Likewise, in the case entitled
Monreal
v.
Bush,
In the case of
Karry
v.
Superior Court,
However, in the instant case it is contended by the respondents that the findings were not in fact outside the issues raised by the pleadings. Petitioner’s contention that plaintiff’s recovery, if any, must have been based only on the allegations of his complaint is not tenable. In determining the issues raised, the pleadings of
both
parties must be considered. (14 Cal. Jur., p. 973.) In view of the admissions and the other matters set up by defendant in his answer in the instant case, the issues before the court necessarily would not be limited to the allegations of the complaint. Thus in the ease entitled
Rogers
v.
Riverside Land etc. Co.,
Also, in 14 Cal. Jur., pp. 986, 987, the rule is stated that “ ... in contested cases the relief granted is not limited to that specifically prayed for, as is the case where judgment goes by default; any relief authorized by the facts alleged and proved or admitted may be awarded. The defendant, by answering, may enlarge the scope of the relief to any extent consistent with the pleadings and embraced within the issues. Hence relief, though not specifically prayed for, may be granted with respect to matters as to which an issue is raised by the denials and averments of the answer”. Again, at page 990, it is said, “Since there is but one form of civil action under the code the court may grant any relief embraced within the issues. The fact that a party has misconceived
*677
the relief to which he is entitled does not alone justify a total denial of relief, but a plaintiff may recover if his complaint states any cause of action entitling him to any relief either at law or in equity. ” Likewise, it is stated in
Union Oil Co.
v.
Mercantile Refining Co.,
To the same effect is the case entitled
Howard
v.
D. W. Hobson Co.,
An analysis of the pleadings in the instant case shows that an express contract for the construction and installation of an electric Neon sign was entered into between the parties; that an electric Neon sign was so installed by plaintiff on the premises of defendant, where it remained; and that defendant had paid nothing to plaintiff as consideration therefor. It was also alleged in the complaint that plaintiff had “fully performed all of the conditions of said agreement on its part to be performed”. That allegation was denied in the answer, and it was affirmatively alleged therein that the sign that was erected was neither constructed nor installed in accordance with the terms of the express agreement; and that defendant had refused to accept the sign and had requested its removal. Therefore, it appears that the answer
*678
sufficiently enlarged the issue tendered by the complaint to have permitted the reception of evidence relating to the question whether the sign so constructed and installed on defendant’s premises was in accordance with the specifications of the agreement and thus entitled plaintiff to the full contract price; also, evidence thereby was admissible with respect to the amount of the reasonable value of said sign if it was found not to have been so constructed and installed, as alleged in the answer, but nevertheless had been accepted and retained by defendant. The trial court found that “said sign
as finally installed
was accepted by defendant and
used continuously by him, since the date of installation”
(emphasis added) and that, “as agreed upon with said defendant”, plaintiff “serviced said sign and kept the same in operating condition” for the period of one year after its installation. In the absence of a transcript of the evidence, we may assume that sufficient evidence was adduced to support those findings. Nor do we understand that they are challenged as being without evidentiary support. Considering the allegations of the pleadings, if there was evidence to show that defendant retained the sign, notwithstanding his asserted objections thereto, it may not fairly be urged that the trial court went outside the issues in imposing liability on him for the reasonable value thereof. A party is entitled to “any and all relief which may be appropriate under the scope of his pleadings and within the facts alleged and proved, irrespective of the theory upon which they may be alleged.
(Haight
v.
Stewart,
Even if we were to assume, for the purpose of illustration only, that the pleadings interposed by the parties in the instant case were not broad enough in their scope to justify the relief granted by the Superior Court, the error committed would have been merely an error in the exercise of jurisdiction. The court had jurisdiction of the parties and of the subject-matter. It had the authority to hear and determine, and to render a judgment on the issues presented. *679 Manifestly, the rendition of the judgment was not an act in excess of the jurisdiction of the court.
The demurrer is sustained, and the judgment is affirmed.
