<p data-foo="bar">
您如何才能做到与
document.querySelectorAll('[data-foo]')
not available在哪里?querySelectorAll在哪里?
我需要一个本机解决方案,至少在IE7中工作。我不关心IE6。
https://stackoverflow.com/questions/9496427
相似问题