The custom of sacrificing hair in the name of God after having their prayers answered is mostly from South India, where most of the Indian curly hair originates. There are various temples where hair has been sacrificed for centuries, mostly located in South India.
Sacrificing ones hair is an extremely spiritual act where one is completely surrendering himself or herself to God with total faith and no ego. It is this kind of spiritual belief which makes India a mystical place.