有没有办法使用jQuery来选择<fb:like href="stackoverflow.com"></fb:like>
标签?
You can escape the :
in the selector, like this:
$("fb\\:like")
You can test it out here . Though...I can't guarantee this will work in every browser.
你也可以做$('[href = stackoverflow.com]')
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.