trying to use mosfet to let motor work

Hey guys,

I'm trying to make a project were several motors start and stop. But I just wanted to begin with one. The thing I know is that you need to use a mosfet to use motor or it will not work. I searched in the internet and found this. But with this picture ist or does not work pr works hole the time whne I switch the battery attachments. Could anybody please help.

Thank
Jeff

(mod edit)

You need a logic level N-MOSFET for that circuit.

For hints on how to get help from the forum, please read and follow the instructions in the "How to use the forum" post, at the head of every forum topic.

thanks