I have the following XML data:
<c_comments>SIBU @ 3:00 p.m</c_comments>
Currently, this data is refreshed using an AJAX call from Prototype. The issue that comes up is that sometimes, different nodes will have empty data. I need to check each node on every refresh to clear out a form field value if that node is empty.
Any ideas on how to do this? I've tried checking for an empty string, but that doesn't work. Now I'm thinking that I should just check to see if the node exists but I have my doubts that that will work either.