If I had two divs, both with id="myDiv", would $("#myDiv").fadeOut();
fade both divs out? Or would it fade only the first/second? Or none at all?
How do I change which one it fades out?
Note: I know duplicate id's is against standards but I'm using the fancybox modal popup and it duplicates specified content on your page for the content of the popup. If anyone knows a way around this (maybe I'm using fancybox wrong) please let me know.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…