I'm using this to try to give the symbol an ID:
s.setVariable("id", data[i].title);
The problem is that I'm trying to hide all the symbols later on a button click. I can't figure out how to hide them. I tried using Firefox to inspect the divs in the browser, but they all show as:
id="Stage_92"
id="Stage_93"
id="Stage_94"
etc.
Any help would be appreciated.