Now that I have your attention, here are the pertinent definitions: Let $R$ be an integral domain with field of fractions $K$. A $R$-fractional ideal of $K$ is a $R$-submodule $I$ of $K$ such that $aI\subseteq R$ for some $a\in R\setminus0$. From now on we just say that $I$ is a fractional ideal. In particular every ideal in $R$ is a fractional ideal.
Given fractional ideals $I,J$ we define the set $IJ=\{\sum i_kj_k: i_k\in I, j_k\in J\}$, which in turn is a fractional ideal, and clearly $IR=I$ for all fractional ideal $I$. We say that a fractional ideal $I\ne0$ is invertible if there is some fractional ideal $J$ such that $IJ=R$. There is only a possibility for $J$, namely $J=I^{-1}$, where $I^{-1}$ is the set defined by $I^{-1}=\{z\in K: zI\subseteq R$}. In fact, if $IJ=R$ then from the definition of $I^{-1}$ we have both $II^{-1}\subseteq R$ and $J\subseteq I^{-1}$, and so $II^{-1}J\subseteq RJ$, that is $I^{-1}(IJ)=I^{-1}\subseteq J$. It is not hard to show that $I^{-1}$ is a fractional ideal as well, even if $II^{-1}\subsetneqq R$.
Note then that $I^{-1}$ is just a notation: it denotes the potential inverse of a nonzero fractional ideal $I$.
Now my question is: given an ideal $I$ in $R$ such that $I^{-1}$ is invertible, does it follows that $I$ itself is invertible? I would like to think that this is indeed the case, but who said that life was easy? I think that there must be a counterexample. I am interested in a particular example of this situation, namely if an ideal $J$ of $R$ satisfies $J^{-1}=R$, does it follow that $J=R$? Note that for ideals $J$ in $R$ we always have $R\subseteq J^{-1}$.
UPDATE
I am very grateful to @Youngsu by her/his answer. Now I would like to know if a counterexample exists for the case dim $R=1$ and $R$ Noetherian.