Transfer field value

Discussion created by tkurniawan-esrisa-esridist on May 20, 2010
Latest reply on May 22, 2010 by tkurniawan-esrisa-esridist
I'm try to use field value, from searching result for another javascript calculation.
Could someone help me, on how to transfer those field value from code like below,

var infoTemplate = new esri.InfoTemplate("Info:${Desc}","${Diameter}");

I need to use the  value of ${Diameter}, into javascript variable.

Thank you.