Hi,
In my case after searching i m trying to display result in table..
POSTALCODE is my field name but it is like static i want it dynamic means i m having string array of fields depends on layer selection so if i m trying to use attribs.array then it wont work..
working case bcoz its static attribs.POSTALCODE:
for (var i=0, il=results1.length; i<il; i++) {
result = results1;
attribs = result.feature.attributes;
s.push("<tr><td>" + attribs.POSTALCODE+ "</td></tr>");
}
not working bcoz i m passing value through string array :
for (var i=0, il=results1.length; i<il; i++) {
result = results1;
attribs = result.feature.attributes;
s.push("<tr><td>" + attribs.arrr + "</td></tr>");
}
Please someone help me...........
Thanks,
Shweta