Reset check engine light on 2000 Dodge Dakota 3.9l?

remove neg. battery cable for 10 min. and reconnect. that should reset the light.