We consider dynamics of scalar semilinear parabolic equations on bounded intervals with periodic boundary conditions, and on the entire real line, with a general nonlinearity g(t, x, u, ux) either not depending on t, or periodic in t. While the topological and geometric structure of their attractors has been investigated in depth, we focus here on ergodic-theoretical properties. The main result is that the union of supports of all the invariant measures projects one-to-one to R 2 . We rely on a novel application of the zero-number techniques with respect to evolution of measures on the phase space, and on properties of the flux of zeroes, and the dissipation of zeroes. As an example of an application, we prove uniqueness of an invariant measure for a large family of considered equations which conserve a certain quantity ("mass"), thus generalizing the results by Sinai for the scalar viscous Burgers equation.