How do you reset the check engine light on a 2001 Dodge Dakota?

disconnect the positive battery cable for about 10 minutes