Legend in Javascript Sample viewer using ags 9.3.1

Discussion created by xrayos on Jan 10, 2011
Latest reply on Jan 10, 2011 by xrayos
Hi all,
i'm trying to add a legend to my application but i can't. I'm using the esri javascript  sample viewer. I would like to add the legend in each item in the layer tree but although i have followed all the steps that appeared in a sample, i can't.
Please, can someone help me?
And do you know any site with working? I haven't seen it anywhere.
I'm a little bit lost on this.