0
How to find if a button which includes some jinja is clicked
I have this button which opens up a modal depending on which row is clicked <button class="btn btn-outline" data-toggle="modal" data-target="#Modal-Testare" data-tip="{{ item.id }}" data-titlu="{{ item.name }}" >Testare</button> I want to find out if the button was clicked on item id =1 ,2, or 3 I hope someone can help me! If I'm not clear enough with what I want, tell me to give you more details! Thank you!
4 Antworten
+ 2
Ipang jinja is a web template engine used with python, similar to Flask or Django.
https://jinja.palletsprojects.com/en/3.0.x/
0
Looking at the {{ }} in the code, I get a feeling this is not plain Javascript.
But what got me wondering more is that jinja thing, which is name of a city from web search. So I ask here, what on earth is "jinja"?
You may have better chance for answer if you could share a link to your code, for those who understands, to analyse.
https://www.sololearn.com/post/75089/?ref=app
0
Interesting data-* attributes, I get the idea by reading mdn docs.
but I dont understand the double curly braces yet. 😢
It would be better if u share ur code in playground so we can try.
0
ChaoticDawg
Big Thanks 🙏
I guess that tells me enough that it's far above me 😂