Bug: "_htmltemplate" description in Toolbox TechNote is wrong?!


What I have found out so far: the “_htmltemplate” description in your Technote about the Toolbox contains several mistakes:

  1. literal HTML strings should start with ‘"\"’ and end with ‘\","’ (I mean the text within single quotes) - including the surrounding double quotes for JSON string literals;
  2. generated HTML (i.e., function invocations) should not be specified within script tags but written like “NSB.xxx(’{id}’…),” (do not forget the trailing comma!!!

Thank you - the docs have been updated.

Thank you very much for the quick response…but…

doesn’t the example for literal HTML still lack the comma after the trailing \"?

Thanks for spotting this - it’s fixed.