vopgis

Create Hyperlink Field in Javascript Application

Discussion created by vopgis on Oct 11, 2011
Latest reply on Oct 12, 2011 by vopgis
I've got a javascript app based on the sample "Find Features - no map" that returns address and owner information in a datagrid. I've joined another table to it that has a field with a url. I'd like that field to be a hyperlink based on the value of the url. The value of the url is based on the Property Index Number assigned by the County.

I'm new to Javascript and thought I'd use link() method, but I can't seem to get the syntax correct. I've also seen <a href=http://www.entireURLHere.htm target=start>text you want displayed</a>, but again not sure where to fit the syntax in correctly.

Any ideas? I believe it should be entered just after function.showresults in the attribs section (between line 40 and 56).

Attachments

Outcomes