Let $A$ be a commutative ring with identity, $f$ an element of $A$, let $g'=g/1$ be the image of the element $g$ of $A$ in $A_f$ under the natural homomorphism $A\rightarrow A_f$. The question is:
Is $A_{fg}$ isomorphic to $(A_f)_{g'}$?
Any comment will be appreciated!
A more general result holds:
For proving this use the universality property of rings of fractions.