Hi, I have an info template like this.infoTemplate=new esri.InfoTemplate("<div align='center'><input type='button' value='Use this location' onclick='test(x,y,z)'></div>");
I have defined x,y,z as:x=5;
y=10;
z="Sairam";
I am getting an error on my browser as " 'Sairam' is undefined".When I pass only numeric values, it works fine. But if i pass a String, i get this undefined error. Could some one tell me how i could pass a String as a parameter on this info template button onclick function?Thanks Prasanna