Maybe it is a silly question, but:
If I have a function $f$ that is continuous on $I\times J\subseteq\mathbb{R}^2$; does this imply that $f$ is continuous in $I$ and in $J$?
My intuitive answer is: Yes, of course, because if one looks at the criterion of continuity that uses series, i.e.
$$ (x_k,y_k)\to (x,y)\Rightarrow f((x_k,y_k))\to f((x,y)) $$
that implies
$$ x_k\to x\Rightarrow f(x_k)\to f(x) $$
respectively
$$ y_k\to y\Rightarrow f(y_k)\to f(y). $$
Or am I totally wrong and confused?
Regards