Thymeleaf Iteration with buttons, every button onclick gets called simultaniosly
Foreach has 12 items, they all get displayed with correct id, but when i tap on a button the onlcik gets called for all 12 entrys at the same time?
23 Replies
⌛
This post has been reserved for your question.
Hey @' .•TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.KIΛ.RΛR ’•. '! Please use
/closeor the
Close Post` button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
i cutted the hmtl bc i dont think the other parts would matter (in the code exmaple above
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
idk thymleaf stuff ig
yes
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
;-;
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
so apparantly it calls the func for all element when the iste is loaded?
Controller
Form
Log when site is loaded
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
@straightface
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
GitHub
GitHub - DragonCat4012/web-thymeleaf
Contribute to DragonCat4012/web-thymeleaf development by creating an account on GitHub.