Login Register

Dojo Dialog

Rendering HTML tags within Dojo Dialog boxes

Hi all,

I am new to Dojo. I would like to render strings (that have html tags) in a Dojo dialog box.

At the moment, when I pass a string as a value to a Dojo dialog box, it prints out that string and ignores the "\n" characters in the string. Hence, I changed all "\n" characters to "br" html tags. Now, I need to find a way to render these "br" html tags in the dialog box. I have gone through many websites but have not found a way to do this. Is this possible and how would I do it?

Thank you very much.

Syndicate content