|
How are you debugging it. I would suggest using the javascript console in FireFox
1/ How are you calling the script, If it runs before the <p> is created it will fail
2/ the "<![CDATA" will cause an error if it is in a XHTML document rather than an XML document that is being transformed with XSLT.
works ok for me, once the above points are rectified BTW
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|