Women who had the flu or ran a fever for more than a week during their pregnancy face a greater risk of having a child with an autism spectrum disorder.