Selecting non-standard tag with jQuery
Is there a way to use jQuery to select the <fb:l开发者_Python百科ike href="stackoverflow.com"></fb:like>
tag?
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.
You could also do $('[href=stackoverflow.com]')
精彩评论