Chaotic space-time evolution is investigated for the particle number density of a Bose-Einstein condensate with attractive interatomic interaction loaded into a traveling optical lattice. Melnikov chaos is studied and the weakly chaotic regime is presented analytically. Transitions from transient to stationary chaos in the space-time evolution are illustrated numerically. The results show that, on increasing the strength of the optical potential, the transient chaos falls onto several different attractors. Meanwhile, these attractors undergo a series of period-doubling bifurcations when the optical potential intensity is increased continuously, and eventually stationary chaos arises for a critical depth of the optical lattice. The obstructions to chaos caused by the damping and the motion of lattice are also demonstrated.