Home>

HTML ID of the screen created by Thymeleaf and Spring Boot,
I want to change it dynamically with the characters passed from SpringBoot, but it doesn't work.
I would appreciate it if you could teach me.

Corresponding source code

~~~~~~~~~~~~~~~~ Omit unnecessary parts ~~~~~~~~~~~~~~~~~~~~
<canvas></canvas>


The testList contains the string I want to use for the ID.

Supplementary information (FW/tool version, etc.)

Thymeleaf4
SpringBoot 2.2.4.RELEASE

  • Answer # 1

    It's done.


Related articles