It won't autofocus on the cheapest digital like the D40 or D40x, but it won't autofocus on an F3 either! For autofocus on the cheapest digitals, get the 50mm f/1.8 G. As a traditional AF lens (not gelded as a G), it works with every Nikon ever made, digital and film, auto and manual focus.
eBay