Hi guys, I'm trying to insert a value inside the pug html attribute. I can't seem to find documentation on how to do this. Here is my code
input(type='hidden', name='country', value='#{val.snippet.id.videoId}')
as you can imagine, val.snippet.id.videoIdthis is just a javascript variable that I am moving from my server side. Therefore, I want to set the value attribute of this variable. It would be very helpful if someone points me in the right direction.
source
share