My reference is this post. Note that it is not necessary for $A$ to have an identity.
Let $\mathscr{C}$ and $\mathscr{D}$ denote, respectively, the collection of ideals of $A$ containing $I$, and the collection of ideals of $A/I$.
Define: $f:\mathscr{C}\to\mathscr{D}$ by $f(J) = \{a + I \mid a\in J\}\subset A/I$.
Define $g:\mathscr{D}\to\mathscr{C}$ by $g(\mathcal{J}) = \{a\mid a+I \in \mathcal{J}\} \subset A$.
(I omit the proofs that these give ideals, but these follow trivially from the definitions.)
If $\mathcal{J}\in\mathscr{C}$, then $(f\circ g)(\mathcal{J}) = \{a+I \mid a\in g(\mathcal{J})\} = \{a+I \mid a+I\in\mathcal{J}\} = \mathcal{J}$
.
If $J\in\mathscr{C}$, then $(g\circ f)(J) = \{a\mid a+I \in f(J)\} = \{a \mid a+I=b+I\text{ for some } b\in J\}$ $= \{a \mid a\in b+I\text{ for some } b\in J\}$.
This last set clearly contains $J$. But $a\in b+I \implies (a-b)\in I\subset J \implies a=b+J\implies a\in J$. So $(g\circ f)(J) = J$, and we have shown that $f$ and $g$ establish a bijection.
It probably doesn't get proved like this very often, because it's a lot shorter if we're allowed to use a few definitions. It is, however, the same proof.
If $f:A\to B$ is a surjective ring homomorphism, and $J$ is an ideal of $A$ containing $\ker f$, then $f(J)$ is an ideal of $B$, because $Bf(J) \subset f(AJ) \subset f(J)$.
If $J'$ is an ideal of $S$, then $f^{-1} (J')$ is an ideal of $R$.
We have $f(f^{-1}(J')) = J'$ trivially, and $f^{-1} (f(J)) = J + \ker{f} = J$.