recently, I've encountered a question about measurable function. after I've searched in MSE, it's been asked in a similar way before, but curiously the answer is the same as I've considered to be wrong. the link is here, so what is the right answer?
copy the question as follows:
Given $f(\cdot, y)$ is measurable for each $y$, $f(x, \cdot)$ is continuous for each $x$. If $u(t)$ is continuous, how can I show that the function $f:[0,1]\times \mathbb{R} \rightarrow \mathbb{R}$ defined by $f(t, u(t))$ is measurable?
The problem of the answer lies in "The continuous of $f$ is unknown", $f(x,u)$ is continuous only for specified $x$, not for all variables. Although the answer is correct in its own way, but no use for the question.