Question: what is the mechanism in magnets that allow them to attract? 

Answer: Its the electrons and nutrons and the polarization of the two.  The lines of flux that surround the two opposite particles are positive & negative and thats what oppose or attract eachother.  The electomagnetic fields pull or push the oppostie fields close or apart.
This question from the Yahoo Q&A forum is categorized in the topic: Science & Mathematics