A quick question about using the $$() function with namespaced xhtml elements. Basically, I have my normal xhtml as normal xhtml, but I've added some custom elements that I pick up with javascript and play with. My document looks a bit like this:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" xmlns:pb="http://pb/ns"> <head> <!-- scripts --> </head> <body> <pb:liveupdate object="posts" since="1243774162" /> </body> but calling $$('pb:liveupdate') or $$('liveupdate') yield no elements. I believe (speculate) that prototype tries to parse out a selector from 'pb:liveupdate' (and thus finds nothing), and finds nothing from 'liveupdate' because the element isn't called that. Can anyone shed some light on this issue? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
