> > > that one of the nodes has an id of 'custom'. However, when I try to get > the > > element directly using getElementById(), it doesn't return the node > > properly. Am I doing something wrong? > > A common problem. See here: > http://wiki.flux-cms.org/display/BLOG/GetElementById+Pitfalls > > Probably easiest to use XPath. Otherwise you have to slightly modify > your HTML... Thanks for the link. It was very informative. I've switched to using XPath and that seems to have solved my problems. Thanks for the help! thnx, Christoph