simon.miles.rbwm

adding HTML into  function layerTabContent

Discussion created by simon.miles.rbwm on Jul 9, 2010
Latest reply on Jul 12, 2010 by simon.miles.rbwm
hi,

I've been trying to add in a url into the following code,(see below) where by the already exisit URL is followed by a unique reference number. This unique reference number 'UPRN' is also contained within the layer.

content+="<tr><td>"+layerResults.features[i].attributes['UPRN']+"<a href='URL=['UPRN']'>(show)</a></td>";

What i'm struggling with is working out how to add the URL with the 'UPRN' field.

Any ideas?

Outcomes