FBML is using tags like <fb:like></fb:like> <fb:board></fb:board>
, etc..
How are they selecting these? I've tried $('fb')
and $('fb:like')
, both return an empty object... does anyone know how this can be done for and ?
FBML is using tags like <fb:like></fb:like> <fb:board></fb:board>
, etc..
How are they selecting these? I've tried $('fb')
and $('fb:like')
, both return an empty object... does anyone know how this can be done for and ?
for example this,
<fb:like href="http://google.com" layout="box_count" show_faces="false" width="450"></fb:like>
/*
If you wish to use any of the meta-characters
( such as !"#$%&'()*+,./:;?@[\]^`{|}~ ) as a literal part of a name,
you must escape the character with two backslashes: \\. For example,
if you have an an element with id="foo.bar", you can use the selector
$("#foo\\.bar").
*/
Your problem could be that jQuery doesn't use the "*NS" flavor of DOM selectors (e.g.
getElementsByTagName
versusgetElementsByTagNameNS
).I wrote a hack a while ago for imbuing jQuery with that capability (especially for an XHTML context). You might be able to tailor it to your own needs:
https://gist.github.com/352210