On Dec 11, 3:25 am, lskatz [EMAIL PROTECTED] wrote:
I finally got around to this, and it turns out that even though the
approach is good, I cannot insert HTML tags. I chose to not use
recursion to make it simple. The problem is that it uses each
character literally and displays the
You could check if the firstChild of the element in question is a textNode.
i.e.:
var c = el.firstChild;
if(c.nodeType == 3){ //text node
el.update(...);
}
Gabriel Gilini
www.usosim.com.br
[EMAIL PROTECTED]
[EMAIL PROTECTED]
On Wed, Nov 19, 2008 at 9:22 PM, lskatz [EMAIL PROTECTED] wrote:
I notice you have an uppercase letter in your $$ selector. I don't
know, but this could cause you some problems if you are not using
Firefox. Please see the discussion called 'cross browser $$ selector
problems'. You should not need to do this, but just for a test, try
making all id's and class