Users can define an attribute form as an HTML tag to get additional functionality in Strategy Web.
In order to create an HTML tag form, define the following form as an "HTML tag".

EXAMPLE:
To implement the following functionality: Display the attribute name with an icon next to it, so that when the attribute name is clicked on, a JavaScript alert is launched displaying the name of the attribute. (This is an example of how the Strategy HTML interface incorporates JavaScript.)
In HTML, the syntax for this type of tag is as follows:
<img src="http://localhost/webserver/arrow.gif" OnClick="Javascript:alert('ATTRIBUTE_NAME')">
ApplySimple ("expression using #0",ATTRIBUTE_NAME)
ApplySimple ("<img src="http://localhost/webserver/arrow.gif" OnClick="Javascript:alert('#0')"> #0", ATTRIBUTE_NAME)
ApplySimple ("<img src="http://localhost/webserver/arrow.gif" OnClick="Javascript:alert('#0')"> #0", ATTRIBUTE_NAME)
ApplySimple(" '<img src=' + CHAR(34) + 'http://localhost/webserver/arrow.gif' + CHAR(34) + ' ' + 'OnClick=' + CHAR(34) + 'Javascript:alert(' + CHAR(39) + #0 + CHAR(39) + ')' + CHAR(34) + '>' + ' ' + #0", ATTRIBUTE_NAME) 


NOTE: The ASCII-to-character function ('char(N)' in SQL Server 7) and concatenation symbol ('+' in SQL Server 7) are Relational Database Management System (RDBMS) specific. In the case of DB2, for example, the conversion function is x'NN'. Here NN is a hexadecimal value. Therefore,
X'7f'= " and x'7d'= '
ApplySimple("'<img src=' x'7f' 'http://172.26.18.10/WEBSERVER/arrow.gif' x' 7f' ' OnClick=' x'7f' 'Javascript:alert(' x'7D' #0 x'7D' ') ' x'7f' '>' " #0; ATTRIBUTE_NAME)
ApplySimple(" '<img src=' CHR(34) 'http://localhost/webserver/arrow.gif' CHR(34) ' ' 'OnClick=' CHR(34) 'Javascript:alert(' CHR(39) #0 CHR(39) ')' CHR(34) '>' ' ' #0", )