[Math] one to one correspondence of Ideals in a ring and its localization

abstract-algebracommutative-algebraidealsring-theory

Let $A$ be a commutative ring, and $S$ a mutiplicatively closed subset. In my text book, it is stated that:

there is one to one correspondence of prime ideals in ring $A$ (not meeting $S$) and prime ideals in its localization $S^{-1}A$.

And my question is if we can remove the word prime and state an 1-1 relation to any ideal?

Best Answer

Consider the ideals $(x)$ and $(xy)$ in the ring $k[x,y]$ and its localization $k[x,y]_{(x)}$.