bold text for string variables in infoWindow

574
2
05-12-2012 02:42 PM
deleted-user-ugCMpXci8bn5
New Contributor III
Hello,

I would like to display my infoWindow with bold text for the input variable names.
Such as:

"address = " + addressVariable;

..with the text coming from attributes of a query result.

I have tried various combinations of <strong> and other HTML tags but none work..I can get bold text from the text in quotes, but not the variable text.

Any ideas? Thanks!
0 Kudos
2 Replies
DanDeneau
New Contributor III
Have you tried something like the following?

"address = <b>" + addressVariable + "</b>";
0 Kudos
deleted-user-ugCMpXci8bn5
New Contributor III
I see that this can be done with an infoTemplate...one problem with that is that I need to calculate data using the results of a query, so this data is not available when I declare the infoTemplate.
0 Kudos