Salvation Army Donations

I have donated some clothing on several occasions to Salvation Army and I received receipt for when I file my taxes.  How is this done?