Combine artichokes and onion in a large glass container; sprinkle with salt. Cover and refrigerate 24 hours. Rinse mixture several times in cold water; drain well.
Combine spices; tie loosely in a cheesecloth bag. Combine spice bag, vinegar, and sugar in a stainless steel stockpot. Bring to a boil; boil 3 minutes, stirring until sugar dissolves. Add artichoke mixture. Reduce heat; simmer 5 minutes, stirring frequently. Remove spice bag and onion; discard. Pack artichokes into hot sterilized jars, and cover with hot syrup, leaving 1/3- inch head space. Remove air bubbles. Cover at once with metal lids, and screw bands tight. Process artichokes in boiling- water bath 10 minutes.
Oxmoor House Homestyle Recipes